From 3539163cf30c9795a7e8f3b27dcd6999662b7d87 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 5 Nov 2023 23:04:55 +0100 Subject: [PATCH] rofi: run commands using i3-msg exec This way, we get a startup id. --- config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config b/config index 3f87f53..52e4fdb 100644 --- a/config +++ b/config @@ -57,7 +57,7 @@ bindsym $mod+Return exec exec $term bindsym $mod+x kill # execute command -set $rofi exec rofi -modi drun -show drun -show-icons -drun-match-fields name +set $rofi exec rofi -modi drun -show drun -show-icons -drun-match-fields name -run-command "i3-msg exec '{cmd}'" bindsym $mod+r exec --no-startup-id $rofi bindsym XF86LaunchA exec --no-startup-id $rofi