diff options
Diffstat (limited to 'lib/linux.nix')
| -rw-r--r-- | lib/linux.nix | 50 |
1 files changed, 48 insertions, 2 deletions
diff --git a/lib/linux.nix b/lib/linux.nix index fb9eddf..376ac28 100644 --- a/lib/linux.nix +++ b/lib/linux.nix @@ -223,6 +223,7 @@ in }; settings = { background_opacity = "0.95"; + window_padding_width = 8; symbol_map = "U+1F600-U+1F64F,U+1F300-U+1F5FF,U+1F680-U+1F6FF,U+1F1E0-U+1F1FF,U+2600-U+26FF,U+2700-U+27BF,U+1F900-U+1F9FF,U+1FA00-U+1FA6F,U+1FA70-U+1FAFF,U+231A-U+231B,U+23E9-U+23F3,U+23F8-U+23FA,U+25AA-U+25AB,U+25B6,U+25C0,U+25FB-U+25FE,U+2614-U+2615,U+2648-U+2653,U+267F,U+2693,U+26A1,U+26AA-U+26AB,U+26BD-U+26BE,U+26C4-U+26C5,U+26CE,U+26D4,U+26EA,U+26F2-U+26F3,U+26F5,U+26FA,U+26FD,U+2702,U+2705,U+2708-U+270D,U+270F Noto Color Emoji"; # ef-dream inspired colors @@ -286,8 +287,53 @@ in rofi = { enable = true; pass.enable = true; - font = "Fira Mono 16"; - theme = "purple"; + font = "Fira Code 14"; + theme = let + inherit (config.lib.formats.rasi) mkLiteral; + in { + "*" = { + background-color = mkLiteral "#232025"; + text-color = mkLiteral "#efd5c5"; + border-color = mkLiteral "#d0b0ff"; + }; + "window" = { + border = mkLiteral "2px"; + padding = mkLiteral "20px"; + }; + "inputbar" = { + children = mkLiteral "[prompt, textbox-prompt-colon, entry]"; + padding = mkLiteral "8px"; + }; + "prompt" = { + text-color = mkLiteral "#d0b0ff"; + }; + "textbox-prompt-colon" = { + expand = false; + str = ":"; + margin = mkLiteral "0 0.3em 0 0"; + text-color = mkLiteral "#8f8886"; + }; + "entry" = { + placeholder = "search..."; + placeholder-color = mkLiteral "#8f8886"; + }; + "listview" = { + lines = 8; + scrollbar = false; + padding = mkLiteral "8px 0 0 0"; + }; + "element" = { + padding = mkLiteral "8px"; + }; + "element selected" = { + background-color = mkLiteral "#3b393e"; + text-color = mkLiteral "#f3c09a"; + }; + "element-text" = { + background-color = mkLiteral "inherit"; + text-color = mkLiteral "inherit"; + }; + }; plugins = with pkgs; [ rofi-calc rofi-emoji |
