From 337ddd6c3580690da5d05e06fe4bd8ded6d32733 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 7 May 2022 10:25:41 -0400 Subject: [PATCH] make polybar brown --- modules/applications/alacritty.nix | 1 + modules/desktop/i3.nix | 1 + modules/desktop/polybar.nix | 10 +++++----- modules/desktop/rofi.nix | 1 - 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/modules/applications/alacritty.nix b/modules/applications/alacritty.nix index 56360f6..be1523c 100644 --- a/modules/applications/alacritty.nix +++ b/modules/applications/alacritty.nix @@ -2,6 +2,7 @@ home-manager.users.${config.user} = { xsession.windowManager.i3.config.terminal = "alacritty"; + programs.rofi.terminal = "${pkgs.alacritty}/bin/alacritty"; programs.alacritty = { enable = true; settings = { diff --git a/modules/desktop/i3.nix b/modules/desktop/i3.nix index ecf0cb8..5f07701 100644 --- a/modules/desktop/i3.nix +++ b/modules/desktop/i3.nix @@ -121,6 +121,7 @@ # Window options "${modifier}+q" = "kill"; + "${modifier}+f" = "fullscreen toggle"; "${modifier}+h" = "focus left"; "${modifier}+j" = "focus down"; "${modifier}+k" = "focus up"; diff --git a/modules/desktop/polybar.nix b/modules/desktop/polybar.nix index b59c7fb..717511e 100644 --- a/modules/desktop/polybar.nix +++ b/modules/desktop/polybar.nix @@ -21,14 +21,14 @@ # offset-y = -5; # offset-y = "5%"; # dpi = 96; - background = config.gui.colorscheme.base00; + background = config.gui.colorscheme.base01; foreground = config.gui.colorscheme.base05; line-size = "3pt"; border-top-size = 0; border-right-size = 0; border-left-size = 0; border-bottom-size = "4pt"; - border-color = config.gui.colorscheme.base02; + border-color = config.gui.colorscheme.base00; padding-left = 2; padding-right = 2; module-margin = 1; @@ -49,9 +49,9 @@ "module/xworkspaces" = { type = "internal/xworkspaces"; label-active = "%name%"; - label-active-background = config.gui.colorscheme.base07; - label-active-foreground = config.gui.colorscheme.base00; - # label-active-underline = config.theme.colors.normal.yellow; + label-active-background = config.gui.colorscheme.base05; + label-active-foreground = config.gui.colorscheme.base01; + label-active-underline = config.gui.colorscheme.base04; label-active-padding = 1; label-occupied = "%name%"; label-occupied-padding = 1; diff --git a/modules/desktop/rofi.nix b/modules/desktop/rofi.nix index 979b6b7..3180e71 100644 --- a/modules/desktop/rofi.nix +++ b/modules/desktop/rofi.nix @@ -10,7 +10,6 @@ location = "center"; pass = { }; plugins = [ pkgs.rofi-calc pkgs.rofi-emoji ]; - terminal = "${pkgs.alacritty}/bin/alacritty"; theme = let inherit (config.home-manager.users.${config.user}.lib.formats.rasi) mkLiteral;