diff --git a/modules/rofi.nix b/modules/rofi.nix index 8dad777..cab8166 100644 --- a/modules/rofi.nix +++ b/modules/rofi.nix @@ -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; }