diff options
| author | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-04-07 15:50:45 -0400 |
|---|---|---|
| committer | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-04-07 15:50:45 -0400 |
| commit | 3be52f10d1ed9844da116ad9364099d72cb6ded4 (patch) | |
| tree | 092b460f8c065396c7bd9dbcb808f0e9d46f2ca4 /modules/sway/default.nix | |
| parent | 993ee553170d01d3d0e7bcef7afc05b80f15b10a (diff) | |
| download | home-3be52f10d1ed9844da116ad9364099d72cb6ded4.tar.gz | |
added colorscheme modularity
Diffstat (limited to 'modules/sway/default.nix')
| -rw-r--r-- | modules/sway/default.nix | 57 |
1 files changed, 29 insertions, 28 deletions
diff --git a/modules/sway/default.nix b/modules/sway/default.nix index 9294688..2280fd1 100644 --- a/modules/sway/default.nix +++ b/modules/sway/default.nix @@ -1,6 +1,7 @@ { self, config, lib, pkgs, nixgl, ... }: let cfg = config.modules.sway; + scheme = config.modules.scheme; in { options.modules.sway = { @@ -87,27 +88,27 @@ in }; colors = { - background = "#0f0f0f"; + background = scheme.base00; focused = { - border = "#191919" ; - background = "#191919"; - text = "#ac8aac"; - indicator = "#282a2e"; - childBorder = "#8aac8b"; + border = scheme.base01; + background = scheme.base01; + text = scheme.base0E; + indicator = scheme.base02; + childBorder = scheme.base0B; }; focusedInactive = { - border = "#191919"; - background = "#191919"; - text = "#ac8aac"; + border = scheme.base01; + background = scheme.base01; + text = scheme.base0E; indicator = "#282a2e"; - childBorder = "#191919"; + childBorder = scheme.base01; }; unfocused = { - border = "#191919"; - background = "#191919"; - text = "#4c4c4c"; + border = scheme.base01; + background = scheme.base01; + text = scheme.base03; indicator = "#0f0f0f"; - childBorder = "#191919"; + childBorder = scheme.base01; }; }; @@ -124,27 +125,27 @@ in separator_symbol " " ''; colors = { - background = "#0d0d0d"; - statusline = "#cacaca"; + background = scheme.base00; # "#0d0d0d"; + statusline = scheme.base05; focusedWorkspace = { - border = "#0d0d0d"; - background = "#0d0d0d"; - text = "#ac8aac"; + border = scheme.base00; # "#0d0d0d"; + background = scheme.base00; # "#0d0d0d"; + text = scheme.base0E; }; activeWorkspace = { - border = "#0d0d0d"; - background = "#0d0d0d"; - text = "#4c4c4c"; + border = scheme.base00; # "#0d0d0d"; + background = scheme.base00; # "#0d0d0d"; + text = scheme.base03; }; inactiveWorkspace = { - border = "#0d0d0d"; - background = "#0d0d0d"; - text = "#4c4c4c"; + border = scheme.base00; # "#0d0d0d"; + background = scheme.base00; # "#0d0d0d"; + text = scheme.base03; }; bindingMode = { - border = "#0d0d0d"; - background = "#0d0d0d"; - text = "#ac8aac"; + border = scheme.base00; # "#0d0d0d"; + background = scheme.base00; # "#0d0d0d"; + text = scheme.base0E; }; }; }]; |