From 5238d5c3177574e2ad38589ed6aab6591e55ea56 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Sun, 17 Nov 2019 22:18:57 +0100 Subject: [PATCH] Add Escape to exit film mode (i3) --- .config/i3/config_common | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.config/i3/config_common b/.config/i3/config_common index 64a39d1..bf4413f 100644 --- a/.config/i3/config_common +++ b/.config/i3/config_common @@ -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 window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s 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" }