From 9aba9dd7277b6031e1c30af73aadaa0cfd4aebf8 Mon Sep 17 00:00:00 2001 From: Bun Date: Tue, 6 May 2025 05:23:30 -0400 Subject: [PATCH] Move border width from rules to theme in Sway --- modules/home/wms/sway/rules/default.nix | 1 - modules/home/wms/sway/theme/default.nix | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/home/wms/sway/rules/default.nix b/modules/home/wms/sway/rules/default.nix index 592bbe7b..8f7a07e9 100644 --- a/modules/home/wms/sway/rules/default.nix +++ b/modules/home/wms/sway/rules/default.nix @@ -4,7 +4,6 @@ defaultWorkspace = "1:${config.ws.w1}"; window = { - border = config.look.border.int; titlebar = false; commands = [ # Scratchpads diff --git a/modules/home/wms/sway/theme/default.nix b/modules/home/wms/sway/theme/default.nix index f0f0cac6..d6184ecf 100644 --- a/modules/home/wms/sway/theme/default.nix +++ b/modules/home/wms/sway/theme/default.nix @@ -35,6 +35,9 @@ names = [ config.look.fonts.main ]; size = 10.5; }; + window = { + border = config.look.border.int; + }; gaps = { inner = 5; smartGaps = true;