diff options
Diffstat (limited to 'modules/tools/rofi/default.nix')
| -rw-r--r-- | modules/tools/rofi/default.nix | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/modules/tools/rofi/default.nix b/modules/tools/rofi/default.nix index 78c1614..ef4e87b 100644 --- a/modules/tools/rofi/default.nix +++ b/modules/tools/rofi/default.nix @@ -4,7 +4,7 @@ options.tools.rofi = { enable = lib.mkEnableOption "Enables rofi."; }; - + config = lib.mkIf config.tools.rofi.enable { programs.rofi = { enable = true; @@ -17,7 +17,7 @@ margin = 0; padding = 0; spacing = 0; - + bg = mkLiteral base00; bg-alt = mkLiteral base01; fg = mkLiteral base07; @@ -25,47 +25,47 @@ background-color = mkLiteral "@bg"; text-color = mkLiteral "@fg"; }; - + window = { border-color = mkLiteral base03; }; - + mainbox = { children = map mkLiteral [ "inputbar" "listview" ]; }; - + inputbar = { background-color = mkLiteral "@bg-alt"; children = map mkLiteral [ "prompt" "entry" ]; }; - + entry = { background-color = mkLiteral "inherit"; padding = mkLiteral "12px 3px"; }; - + prompt = { background-color = mkLiteral "inherit"; padding = mkLiteral "12px"; }; - + listview = { lines = 8; }; - + element = { children = map mkLiteral [ "element-text" ]; }; - + element-icon = { padding = mkLiteral "10px 10px"; }; - + element-text = { padding = mkLiteral "10px 10px"; text-color = mkLiteral "@fg-alt"; }; - + "element-text selected" = { text-color = mkLiteral "@fg"; }; |
