summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/modules/rofi.nix23
-rw-r--r--user/rofi/.config/networkmanager-dmenu/config.ini6
-rw-r--r--user/rofi/.config/rofi/config8
3 files changed, 20 insertions, 17 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
+    '';
   };
 }
diff --git a/user/rofi/.config/networkmanager-dmenu/config.ini b/user/rofi/.config/networkmanager-dmenu/config.ini
deleted file mode 100644
index fdc7aa6e..00000000
--- a/user/rofi/.config/networkmanager-dmenu/config.ini
+++ /dev/null
@@ -1,6 +0,0 @@
-[dmenu]
-dmenu_command = /run/current-system/sw/bin/rofi
-
-[editor]
-terminal = xst
-gui_if_available = false
\ No newline at end of file
diff --git a/user/rofi/.config/rofi/config b/user/rofi/.config/rofi/config
deleted file mode 100644
index d742f496..00000000
--- a/user/rofi/.config/rofi/config
+++ /dev/null
@@ -1,8 +0,0 @@
-rofi.matching:            glob
-rofi.separator-style:     none
-
-rofi.line-padding:        2
-
-rofi.display-run:         cmd
-rofi.display-drun:        run
-rofi.display-window:      win
\ No newline at end of file