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