diff --git a/modules/apps/rofi/default.nix b/modules/apps/rofi/default.nix index 5d66a02..5a1a198 100644 --- a/modules/apps/rofi/default.nix +++ b/modules/apps/rofi/default.nix @@ -5,7 +5,6 @@ let programs.rofi = { enable = true; package = pkgs.rofi.override { plugins = with pkgs; [ rofi-calc ]; }; - # theme = ~/.dotfiles/config/rofi/dracula_old.rasi; theme = ./dracula.rasi; }; home.packages = with pkgs; [ networkmanager_dmenu ]; diff --git a/modules/apps/rofi/dracula.rasi b/modules/apps/rofi/dracula.rasi index ca37a15..7ffc877 100644 --- a/modules/apps/rofi/dracula.rasi +++ b/modules/apps/rofi/dracula.rasi @@ -53,45 +53,38 @@ scrollbar: false; padding: 2px 0px 0px ; } -#element { +#element-text { border: 0; padding: 1px ; -} -#element.normal.normal { - background-color: @background; text-color: @foreground; } -#element.normal.urgent { +#element-text normal.normal { + background-color: @background; +} +#element-text normal.urgent { background-color: @urgent-background; text-color: @urgent-foreground; } -#element.normal.active { - background-color: @active-background; - text-color: @background; +#element-text normal.active { + backgroundr: @active-background; } -#element.selected.normal { +#element-text selected.normal { background-color: @selected-background; - text-color: @foreground; } -#element.selected.urgent { +#element-text selected.urgent { background-color: @selected-urgent-background; - text-color: @foreground; } -#element.selected.active { +#element-text selected.active { background-color: @selected-active-background; - text-color: @background; } -#element.alternate.normal { +#element-text alternate.normal { background-color: @background; - text-color: @foreground; } -#element.alternate.urgent { +#element-text alternate.urgent { background-color: @urgent-background; - text-color: @foreground; } -#element.alternate.active { +#element-text alternate.active { background-color: @active-background; - text-color: @foreground; } #scrollbar { width: 2px ; @@ -103,7 +96,7 @@ border: 2px dash 0px 0px ; border-color: @separatorcolor; } -#button.selected { +#button selected { background-color: @selected-background; text-color: @foreground; }