From 4ae33aa31e23f8e2340e9b28c43bafd345234f17 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Sun, 19 Dec 2021 12:04:14 +0100 Subject: [PATCH] Fix rofi theme --- modules/rofi.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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; }