From 6ea8b9b97c2fe19442a1cd6e5d14e5ed39c244c5 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 23 Nov 2022 16:05:26 -0500 Subject: [PATCH] make binding to exit ratpoison mode. --- i38.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/i38.sh b/i38.sh index 1edeb7e..d040350 100755 --- a/i38.sh +++ b/i38.sh @@ -152,7 +152,7 @@ fi # Create the i3 configuration directory. mkdir -p "${i3Path}" # Move scripts into place -cp -rv scripts/ "${i3Path}/scripts" +cp -rv scripts/ "${i3Path}/scripts" | dialog --backtitle "I38" --progressbox "Moving scripts into place and writing config..." -1 -1 cat << EOF > ${i3Path}/config # Generated by I38 (${0##*/}) https://github.com/stormdragon2976/I38 @@ -267,6 +267,7 @@ bindsym Control+; reload, mode "default" bindsym Control+: restart, 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 Escape mode "default" }