rofi: run commands using i3-msg exec

This way, we get a startup id.
This commit is contained in:
Vincent Bernat 2023-11-05 23:04:55 +01:00
parent adeea3f62d
commit 3539163cf3

2
config
View file

@ -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