make binding to exit ratpoison mode.
This commit is contained in:
parent
4e62582279
commit
6ea8b9b97c
3
i38.sh
3
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"
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user