Fix bad mode variable names (i3)

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

View File

@ -6,8 +6,8 @@
# Mod1 = alt # Mod1 = alt
set $mod Mod1 set $mod Mod1
set $resize_mode Resize: [←] [→] [↑] [↓] set $resize_mode Resize — [←] [→] [↑] [↓]
set $film_mode Film Mode: [u]p [d]own set $film_mode Film Mode — [u]p [d]own
# font for window titles. # font for window titles.
font pango:Roboto, Bold 10 font pango:Roboto, Bold 10
@ -98,13 +98,13 @@ bindsym $mod+Print exec ~/.config/i3/scripts/screenshot.py -s
# screenshot and upload to Lychee # screenshot and upload to Lychee
bindsym Print exec ~/.config/i3/scripts/screenshot.py -u 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 u exec ~/.config/i3/scripts/film_mode.sh on
bindsym d exec ~/.config/i3/scripts/film_mode.sh off bindsym d exec ~/.config/i3/scripts/film_mode.sh off
bindsym Escape mode "default" bindsym Escape mode "default"
} }
# toggle film mode # toggle film mode
bindsym $mod+Shift+f mode "$mode_film" bindsym $mod+Shift+f mode "$film_mode"
################################## ##################################
# BINDINGS FOR STANDARD OPERATIONS # BINDINGS FOR STANDARD OPERATIONS
@ -178,7 +178,7 @@ bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart bindsym $mod+Shift+r restart
# resize window (you can also use the mouse for that) # 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 Left resize grow width 10 px or 10 ppt
bindsym Down resize grow height 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 Up resize shrink height 10 px or 10 ppt
@ -186,7 +186,7 @@ mode "$mode_resize" {
bindsym Escape mode "default" bindsym Escape mode "default"
} }
bindsym $mod+r mode "$mode_resize" bindsym $mod+r mode "$resize_mode"
################################## ##################################
# OPERATIONS FOR SPECIFIC WINDOWS # OPERATIONS FOR SPECIFIC WINDOWS