Fix rofi theme

This commit is contained in:
Filippo Berto 2021-12-19 12:04:14 +01:00
parent aeff387693
commit 4ae33aa31e

View file

@ -1,24 +1,24 @@
{ { pkgs, ... }: {
programs.rofi = { programs.rofi = {
enable = true; enable = true;
# location = "center";
# font = "${pkgs.rice.font.monospace.name} ${toString pkgs.rice.font.monospace.size}";
# extraConfig = { # extraConfig = {
# modi = "drun,run,ssh,window"; # modi = "drun,emoji,run,ssh,window";
# theme = "nord";
# }; # };
# extraConfig = builtins.concatStringsSep "\n" [ # theme = ../configs/rofi/nord.rasi;
# "modi = drun,run,ssh,window"
# "theme = nord"
# ];
}; };
xdg.configFile."rofi/config.rasi".text = '' xdg.configFile."rofi/config.rasi".text = ''
configuration { configuration {
font: "${pkgs.rice.font.monospace.name} 12";
location: 0; location: 0;
yoffset: 0; yoffset: 0;
xoffset: 0; xoffset: 0;
modi: "drun,run,ssh,window"; modi: "drun,run,ssh,window";
theme: "nord";
} }
@theme "nord"
''; '';
xdg.configFile."rofi/nord.rasi".source = ../configs/rofi/nord.rasi; xdg.configFile."rofi/nord.rasi".source = ../configs/rofi/nord.rasi;
} }