From 6702dc357b1eb25aad93bd3ab7f498054f80194f Mon Sep 17 00:00:00 2001 From: stormdragon2976 Date: Tue, 28 Mar 2023 19:56:08 -0400 Subject: [PATCH] Added control+g to exit ratpoison mode, so that it is more in line with ratpoison. --- i38.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/i38.sh b/i38.sh index f694e6e..dc9d37e 100755 --- a/i38.sh +++ b/i38.sh @@ -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" # 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' +# Exit ratpoison mode without any action escape or Control+g bindsym Escape mode "default" +bindsym Control+g mode "default" }