From 92c2748747416e4775d38b1e9d425800cece8d8e Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 23 Jun 2021 23:08:19 +0200 Subject: [PATCH] home: wm: dunst: use rofi as 'dmenu' when enabled --- home/wm/dunst.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/wm/dunst.nix b/home/wm/dunst.nix index 2c3d2f4..e90362a 100644 --- a/home/wm/dunst.nix +++ b/home/wm/dunst.nix @@ -11,6 +11,10 @@ in global = { alignment = "center"; # Put message in the middle of the box browser = "xdg-open"; # use default browser to open links + dmenu = + lib.mkIf + config.my.home.wm.rofi.enable + "rofi -p dunst -dmenu"; # use rofi for menu follow = "keyboard"; # follow keyboard focus font = "Monospace 8"; # Simple looking font frame_width = 3; # small frame