Commit 81f235d4 authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Added container based fullscreen shortcut (with auto select child after

calling it).
parent b70a46ed
...@@ -130,7 +130,6 @@ bindsym $mod+Shift+l move right 100px ...@@ -130,7 +130,6 @@ bindsym $mod+Shift+l move right 100px
# workspace back and forth (with/without active container) # workspace back and forth (with/without active container)
workspace_auto_back_and_forth yes workspace_auto_back_and_forth yes
bindsym $mod+b workspace back_and_forth
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
# Set $con_title (embedded script) - used in split orientations below. # Set $con_title (embedded script) - used in split orientations below.
...@@ -171,8 +170,8 @@ bindsym $mod+$mod_next+w split h; layout tabbed; exec "$con_title"; exec notify- ...@@ -171,8 +170,8 @@ bindsym $mod+$mod_next+w split h; layout tabbed; exec "$con_title"; exec notify-
bindsym $mod+$mod_next+s split h; layout stacked; exec "$con_title"; exec notify-send 'stacked layout' bindsym $mod+$mod_next+s split h; layout stacked; exec "$con_title"; exec notify-send 'stacked layout'
# toggle fullscreen mode for the focused container # toggle fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle bindsym $mod+f exec "i3-msg fullscreen toggle, focus child"
bindsym $mod+$mod_next+f floating enable;move position 0px 0px;resize set 1920 1080;border none bindsym $mod+shift+f exec "i3-msg focus parent, fullscreen toggle, focus child"
bindsym --whole-window $mod+button8 fullscreen toggle bindsym --whole-window $mod+button8 fullscreen toggle
# several 16:9 resolutions binded for quick switching # several 16:9 resolutions binded for quick switching
......
...@@ -102,8 +102,8 @@ bindsym $mod+$mod_next+w split h; layout tabbed ...@@ -102,8 +102,8 @@ bindsym $mod+$mod_next+w split h; layout tabbed
bindsym $mod+$mod_next+s split h; layout stacked bindsym $mod+$mod_next+s split h; layout stacked
# toggle fullscreen mode for the focused container # toggle fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle bindsym $mod+f exec "i3-msg fullscreen toggle, focus child"
bindsym $mod+$mod_next+f floating enable;move position 0px 0px;resize set 1920 1080;border none bindsym $mod+shift+f exec "i3-msg focus parent, fullscreen toggle, focus child"
bindsym --whole-window $mod+button8 fullscreen toggle bindsym --whole-window $mod+button8 fullscreen toggle
# toggle tiling / floating focus # toggle tiling / floating focus
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment