Add Escape to exit film mode (i3)

master
Quentin Duchemin 2019-11-17 22:18:57 +01:00
parent b31e578914
commit 5238d5c317
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
1 changed files with 1 additions and 8 deletions

View File

@ -101,6 +101,7 @@ bindsym Print exec ~/.config/i3/scripts/screenshot.py -u
mode "$mode_film" {
bindsym u exec ~/.config/i3/scripts/film_mode.sh on
bindsym d exec ~/.config/i3/scripts/film_mode.sh off
bindsym Escape mode "default"
}
# toggle film mode
bindsym $mod+Shift+f mode "$mode_film"
@ -178,18 +179,10 @@ bindsym $mod+Shift+r restart
# resize window (you can also use the mouse for that)
mode "$mode_resize" {
# Pressing left will shrink the windows width.
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
# same bindings, but for the arrow keys
bindsym Left resize grow width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize shrink width 10 px or 10 ppt
# back to normal: Enter or Escape
bindsym Escape mode "default"
}