Added control+g to exit ratpoison mode, so that it is more in line with ratpoison.

This commit is contained in:
stormdragon2976 2023-03-28 19:56:08 -04:00
parent a7f22597f1
commit 6702dc357b

2
i38.sh
View File

@ -433,7 +433,9 @@ bindsym Control+Shift+semicolon exec bash -c '$i3msg -t run_command restart && s
bindsym Shift+exclam exec ${i3Path}/scripts/run_dialog.sh, mode "default" bindsym Shift+exclam exec ${i3Path}/scripts/run_dialog.sh, mode "default"
# exit i3 (logs you out of your X session) # exit i3 (logs you out of your X session)
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." && $i3msg -t run_command exit' 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." && $i3msg -t run_command exit'
# Exit ratpoison mode without any action escape or Control+g
bindsym Escape mode "default" bindsym Escape mode "default"
bindsym Control+g mode "default"
} }