Commit 672f5992 authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Added focus child when creating child container (deslects multiple

windows if more than one are selected).
parent eb0a87da
......@@ -50,7 +50,7 @@ bindsym $mod+Control+period $border_normal
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
#font pango:monospace 8
font xft:BitstreamVeraSans-Roman 11
font xft:BitstreamVeraSans-Roman 10
# Use Mouse+$mod to drag floating windows
floating_modifier $mod
......@@ -177,16 +177,11 @@ bindsym $mod+q layout splith
bindsym $mod+e layout splitv
bindsym $mod+s layout stacking
# child container layouts (creates a child container from current selected application)
bindsym $mod+z split h; exec "$con_title"
bindsym $mod+x split v; exec "$con_title"
bindsym $mod+c layout toggle
# alternate container layout bindsyms
bindsym $mod+$mod_next+q split h; exec "$con_title"
bindsym $mod+$mod_next+e split v; exec "$con_title"
bindsym $mod+$mod_next+w split h; layout tabbed; exec "$con_title"
bindsym $mod+$mod_next+s split h; layout stacked; exec "$con_title"
# child container layout bindsyms (creates a child container from currently select window)
bindsym $mod+$mod_next+q split h; focus child; exec "$con_title"
bindsym $mod+$mod_next+e split v; focus child; exec "$con_title"
bindsym $mod+$mod_next+w split h; layout tabbed; focus child; exec "$con_title"
bindsym $mod+$mod_next+s split h; layout stacked; focus child; exec "$con_title"
# toggle fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
......
......@@ -113,16 +113,11 @@ bindsym $mod+q layout splith
bindsym $mod+e layout splitv
bindsym $mod+s layout stacking
# child container layouts (creates a child container from current selected application)
bindsym $mod+z split h
bindsym $mod+x split v
bindsym $mod+c layout toggle
# alternate container layout bindsyms
bindsym $mod+$mod_next+q split h
bindsym $mod+$mod_next+e split v
bindsym $mod+$mod_next+w split h; layout tabbed
bindsym $mod+$mod_next+s split h; layout stacked
# child container layout bindsyms (creates a child container from currently select window)
bindsym $mod+$mod_next+q split h; focus child
bindsym $mod+$mod_next+e split v; focus child
bindsym $mod+$mod_next+w split h; layout tabbed; focus child
bindsym $mod+$mod_next+s split h; layout stacked; focus child
# toggle fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
......
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