diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2023-03-01 20:05:35 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2023-03-01 20:30:41 +0100 |
| commit | a0cb261eda73c4771756120d03b6d754c7fe43f7 (patch) | |
| tree | 3fb122bd587c73c8ec0196e832512b78afde8af9 /modules/home-manager/personal/gui/x | |
| parent | c6b0846dd496582c6742bb90ea398508d6837f07 (diff) | |
i3: bar: use stylix's colors
Diffstat (limited to 'modules/home-manager/personal/gui/x')
| -rw-r--r-- | modules/home-manager/personal/gui/x/i3/bar/default.nix | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/modules/home-manager/personal/gui/x/i3/bar/default.nix b/modules/home-manager/personal/gui/x/i3/bar/default.nix index 58d4bce..47754c7 100644 --- a/modules/home-manager/personal/gui/x/i3/bar/default.nix +++ b/modules/home-manager/personal/gui/x/i3/bar/default.nix @@ -4,21 +4,22 @@ let statusPackage = pkgs.personal.barista.override { i3statusGo = ./i3status.go; }; in { - xsession.windowManager.i3.config.bars = [{ - statusCommand = "${statusPackage}/bin/i3status"; - fonts = { - names = [ "roboto" ]; - size = 11.0; - }; - colors.background = "#111111"; - }]; + xsession.windowManager.i3.config.bars = [ + ({ + statusCommand = "${statusPackage}/bin/i3status"; + } // (config.lib.stylix.i3.bar or { colors.background = "#111111"; }) // { + fonts = { + names = [ "roboto" ]; + size = 11.0; + }; + }) + ]; home.packages = with pkgs; lib.optionals (config.xsession.enable && config.xsession.windowManager.i3.enable) [ material-design-icons roboto - # source-code-pro ]; # (Miscellaneous) Tray icons |
