fixed rofi theme

nixos
Moritz Böhme 2021-10-19 11:56:17 +02:00
parent 94adf45fd9
commit 645e3fffee
2 changed files with 14 additions and 22 deletions

View File

@ -5,7 +5,6 @@ let
programs.rofi = { programs.rofi = {
enable = true; enable = true;
package = pkgs.rofi.override { plugins = with pkgs; [ rofi-calc ]; }; package = pkgs.rofi.override { plugins = with pkgs; [ rofi-calc ]; };
# theme = ~/.dotfiles/config/rofi/dracula_old.rasi;
theme = ./dracula.rasi; theme = ./dracula.rasi;
}; };
home.packages = with pkgs; [ networkmanager_dmenu ]; home.packages = with pkgs; [ networkmanager_dmenu ];

View File

@ -53,45 +53,38 @@
scrollbar: false; scrollbar: false;
padding: 2px 0px 0px ; padding: 2px 0px 0px ;
} }
#element { #element-text {
border: 0; border: 0;
padding: 1px ; padding: 1px ;
}
#element.normal.normal {
background-color: @background;
text-color: @foreground; text-color: @foreground;
} }
#element.normal.urgent { #element-text normal.normal {
background-color: @background;
}
#element-text normal.urgent {
background-color: @urgent-background; background-color: @urgent-background;
text-color: @urgent-foreground; text-color: @urgent-foreground;
} }
#element.normal.active { #element-text normal.active {
background-color: @active-background; backgroundr: @active-background;
text-color: @background;
} }
#element.selected.normal { #element-text selected.normal {
background-color: @selected-background; background-color: @selected-background;
text-color: @foreground;
} }
#element.selected.urgent { #element-text selected.urgent {
background-color: @selected-urgent-background; background-color: @selected-urgent-background;
text-color: @foreground;
} }
#element.selected.active { #element-text selected.active {
background-color: @selected-active-background; background-color: @selected-active-background;
text-color: @background;
} }
#element.alternate.normal { #element-text alternate.normal {
background-color: @background; background-color: @background;
text-color: @foreground;
} }
#element.alternate.urgent { #element-text alternate.urgent {
background-color: @urgent-background; background-color: @urgent-background;
text-color: @foreground;
} }
#element.alternate.active { #element-text alternate.active {
background-color: @active-background; background-color: @active-background;
text-color: @foreground;
} }
#scrollbar { #scrollbar {
width: 2px ; width: 2px ;
@ -103,7 +96,7 @@
border: 2px dash 0px 0px ; border: 2px dash 0px 0px ;
border-color: @separatorcolor; border-color: @separatorcolor;
} }
#button.selected { #button selected {
background-color: @selected-background; background-color: @selected-background;
text-color: @foreground; text-color: @foreground;
} }