From cc4da93e10357e831b510a1809cd1e343f3d65bc Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Sun, 17 Nov 2019 22:34:18 +0100 Subject: [PATCH] Fix bad mode variable names (i3) --- .config/i3/config_common | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.config/i3/config_common b/.config/i3/config_common index bf4413f..cb34823 100644 --- a/.config/i3/config_common +++ b/.config/i3/config_common @@ -6,8 +6,8 @@ # Mod1 = alt set $mod Mod1 -set $resize_mode Resize: [←] [→] [↑] [↓] -set $film_mode Film Mode: [u]p [d]own +set $resize_mode Resize — [←] [→] [↑] [↓] +set $film_mode Film Mode — [u]p [d]own # font for window titles. font pango:Roboto, Bold 10 @@ -98,13 +98,13 @@ bindsym $mod+Print exec ~/.config/i3/scripts/screenshot.py -s # screenshot and upload to Lychee bindsym Print exec ~/.config/i3/scripts/screenshot.py -u -mode "$mode_film" { +mode "$film_mode" { 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" +bindsym $mod+Shift+f mode "$film_mode" ################################## # BINDINGS FOR STANDARD OPERATIONS @@ -178,7 +178,7 @@ bindsym $mod+Shift+c reload bindsym $mod+Shift+r restart # resize window (you can also use the mouse for that) -mode "$mode_resize" { +mode "$resize_mode" { 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 @@ -186,7 +186,7 @@ mode "$mode_resize" { bindsym Escape mode "default" } -bindsym $mod+r mode "$mode_resize" +bindsym $mod+r mode "$resize_mode" ################################## # OPERATIONS FOR SPECIFIC WINDOWS