diff options
author | Alan Pearce | 2019-10-04 22:15:06 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-04 22:15:06 +0200 |
commit | 54f7e1a124cf07f0e69a5bb230a105a063146d2d (patch) | |
tree | 22e4e98b0e5ae5cad5fa390f12f7322d162ca384 /user | |
parent | 59caf53ead1ae63e914f3c783477f5c8cac2b847 (diff) | |
download | nixfiles-54f7e1a124cf07f0e69a5bb230a105a063146d2d.tar.lz nixfiles-54f7e1a124cf07f0e69a5bb230a105a063146d2d.tar.zst nixfiles-54f7e1a124cf07f0e69a5bb230a105a063146d2d.zip |
Inline rofi configuration
Diffstat (limited to 'user')
-rw-r--r-- | user/modules/rofi.nix | 23 | ||||
-rw-r--r-- | user/rofi/.config/networkmanager-dmenu/config.ini | 6 | ||||
-rw-r--r-- | user/rofi/.config/rofi/config | 8 |
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 |