all repos — nixfiles @ 54f7e1a124cf07f0e69a5bb230a105a063146d2d

System and user configuration, managed by nix and home-manager

Inline rofi configuration

Alan Pearce
commit

54f7e1a124cf07f0e69a5bb230a105a063146d2d

parent

59caf53ead1ae63e914f3c783477f5c8cac2b847

1 file changed, 20 insertions(+), 3 deletions(-)

changed files
M user/modules/rofi.nixuser/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 + ''; }; }