Fix the exit option.

This commit is contained in:
Storm Dragon 2022-11-24 14:04:40 -05:00
parent bb5d521a96
commit 7412503611

2
i38.sh
View File

@ -360,7 +360,7 @@ bindsym Control+semicolon exec bash -c 'i3-msg -t run_command reload && spd-say
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym Control+Shift+semicolon exec bash -c 'i3-msg -t run_command restart && spd-say -P important -Cw "I3 restarted."', mode "default"
# exit i3 (logs you out of your X session)
bindsym Control+q exec "yad --image "dialog-question" --title 'I38' --button=yes:0 --button=no:1 --text 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' && exit i3
bindsym Control+q exec bash -c 'yad --image "dialog-question" --title "I38" --button=yes:0 --button=no:1 --text "You pressed the exit shortcut. Do you really want to exit i3? This will end your X session." && i3-msg -t exit i3'
bindsym Escape mode "default"
}