fork/home-manager
git clone https://git.julia.blue/fork/home-manager
cb09a968
master
1{ config , lib , pkgs , ...} : 2 3with lib ; 4 5{ 6config = { 7programs . rofi = { 8enable = true ; 9 10theme = let inherit ( config . lib . formats . rasi ) mkLiteral ; 11in { 12"@import" = "~/.cache/wal/colors-rofi-dark" ; 13 14"*" = { 15background-color = mkLiteral "#000000" ; 16foreground-color = mkLiteral "rgba ( 250, 251, 252, 100 % )" ; 17border-color = mkLiteral "#FFFFFF" ; 18width = 512 ; 19}; 20 21"#inputbar" = { children = map mkLiteral [ "prompt" "entry" ]; }; 22 23"#textbox-prompt-colon" = { 24expand = false ; 25str = ":" ; 26margin = mkLiteral "0px 0.3em 0em 0em" ; 27text-color = mkLiteral "@foreground-color" ; 28}; 29}; 30}; 31 32test . stubs . rofi = { }; 33 34nmt . script = '' 35assertFileContent \ 36home-files/.config/rofi/config.rasi \ 37${ ./custom-theme-config.rasi } 38assertFileContent \ 39home-files/.local/share/rofi/themes/custom.rasi \ 40${ ./custom-theme.rasi } 41'' ; 42}; 43}