flake

Francesco Saccone's Nix flake.
git clone git://git.francescosaccone.com/flake
Log | Files | Refs | README | LICENSE

commit 565df73d4b282741d4272fbcf8340f7204d5d5c4
parent a6be0d0a5bd3693ce3805703c330437139ca0720
Author: Francesco Saccone <francesco@francescosaccone.com>
Date:   Sun,  6 Apr 2025 17:20:10 +0200

refactor: define 'darkRed' and 'green' colors instead of hardcoding

Signed-off-by: Francesco Saccone <francesco@francescosaccone.com>

Diffstat:
Mmodules/home/sway/bar/default.nix | 4++--
Mmodules/home/sway/colors.nix | 2++
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/home/sway/bar/default.nix b/modules/home/sway/bar/default.nix @@ -76,9 +76,9 @@ general = { output_format = "i3bar"; colors = true; - color_good = "#80ff80"; + color_good = colors.green; color_degraded = colors.red; - color_bad = "#c85151"; + color_bad = colors.darkRed; }; modules = { "wireless _first_" = { diff --git a/modules/home/sway/colors.nix b/modules/home/sway/colors.nix @@ -4,6 +4,8 @@ background = "#00112b"; black = "#000000"; + darkRed = "#c85151"; + green = "#80ff80"; red = "#da8b8b"; white = "#ffffff"; }