commit 1a23f22914ad1663d4960c6aa5d3a83ac3cb460d parent 5b8d62427a8b5e809ec841d8a06656a20ab28e34 Author: Francesco Saccone <francesco@francescosaccone.com> Date: Sun, 6 Apr 2025 16:47:45 +0200 refactor: define colors in colors.nix file Signed-off-by: Francesco Saccone <francesco@francescosaccone.com> Diffstat:
A | modules/home/sway/colors.nix | | | 5 | +++++ |
M | modules/home/sway/default.nix | | | 6 | +----- |
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/modules/home/sway/colors.nix b/modules/home/sway/colors.nix @@ -0,0 +1,5 @@ +{ + black = "#000000"; + red = "#da8b8b"; + white = "#ffffff"; +} diff --git a/modules/home/sway/default.nix b/modules/home/sway/default.nix @@ -34,11 +34,7 @@ wayland.windowManager.sway = let - colors = { - black = "#000000"; - red = "#da8b8b"; - white = "#ffffff"; - }; + colors = import ./colors.nix; commands = { foot = let