flake

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

commit a7a0bf596640a0f97766ff2e68e3302c94c407ca
parent 17ebbb9d59087d88882793e81e2753bf59b6f5de
Author: Francesco Saccone <francesco@francescosaccone.com>
Date:   Sun,  6 Apr 2025 17:49:43 +0200

feat: fully replace 'background' with 'black'

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

Diffstat:
Mmodules/home/sway/bar/default.nix | 12++++++------
Mmodules/home/sway/colors.nix | 1-
Mmodules/home/sway/default.nix | 22+++++++++++-----------
3 files changed, 17 insertions(+), 18 deletions(-)

diff --git a/modules/home/sway/bar/default.nix b/modules/home/sway/bar/default.nix @@ -42,7 +42,7 @@ colors = { activeWorkspace = { - background = colors.black; + background = colors.background; border = colors.white; text = colors.white; }; @@ -50,17 +50,17 @@ focusedWorkspace = { background = colors.white; border = colors.white; - text = colors.black; + text = colors.background; }; inactiveWorkspace = { - background = colors.black; - border = colors.black; + background = colors.background; + border = colors.background; text = colors.white; }; - separator = colors.white; + separator = colors.background; statusline = colors.white; urgentWorkspace = { - background = colors.black; + background = colors.background; border = colors.red; text = colors.white; }; diff --git a/modules/home/sway/colors.nix b/modules/home/sway/colors.nix @@ -3,7 +3,6 @@ # the background image. background = "#00112b"; - black = "#000711"; darkRed = "#c85151"; green = "#80ff80"; red = "#da8b8b"; diff --git a/modules/home/sway/default.nix b/modules/home/sway/default.nix @@ -44,7 +44,7 @@ configFile = pkgs.writeText "foot.ini" '' [colors] alpha=0.8 - background=${parseColor colors.black} + background=${parseColor colors.background} foreground=${parseColor colors.white} [main] @@ -82,27 +82,27 @@ border = colors.white; childBorder = colors.white; indicator = colors.white; - text = colors.black; + text = colors.background; }; placeholder = { background = colors.white; - border = colors.black; + border = colors.background; childBorder = colors.white; indicator = colors.white; - text = colors.black; + text = colors.background; }; unfocused = { - background = colors.black; - border = colors.black; - childBorder = colors.black; - indicator = colors.black; + background = colors.background; + border = colors.background; + childBorder = colors.background; + indicator = colors.background; text = colors.white; }; urgent = { - background = colors.black; + background = colors.background; border = colors.red; - childBorder = colors.black; - indicator = colors.black; + childBorder = colors.background; + indicator = colors.background; text = colors.white; }; };