summary refs log tree commit diff stats
path: root/user/modules
diff options
context:
space:
mode:
Diffstat (limited to 'user/modules')
-rw-r--r--user/modules/rofi.nix23
1 files changed, 20 insertions, 3 deletions
diff --git a/user/modules/rofi.nix b/user/modules/rofi.nix
index 1de577b3..b34af881 100644
--- a/user/modules/rofi.nix
+++ b/user/modules/rofi.nix
@@ -1,8 +1,25 @@
 { config, pkgs, ... }:
 
 {
-  xdg.configFile.rofi = {
-    recursive = true;
-    source = ../rofi/.config/rofi;
+  xdg.configFile."networkmanager-dmenu/config.ini".text = ''
+    [dmenu]
+    dmenu_command = /run/current-system/sw/bin/rofi
+
+    [editor]
+    terminal = xst
+    gui_if_available = false
+  '';
+  programs.rofi = {
+    enable = true;
+    extraConfig = ''
+      rofi.matching:            glob
+      rofi.separator-style:     none
+
+      rofi.line-padding:        2
+
+      rofi.display-run:         cmd
+      rofi.display-drun:        run
+      rofi.display-window:      win
+    '';
   };
 }