X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=i3-split-maybe;fp=i3-split-maybe;h=69e42c547a723841fae1b7b9ba1cb4ced7ce9088;hp=a15b83f54fc91ff7e6288366c45e66705b130d60;hb=12e4748d67a2891d120f0ce7c29c2cf44a6119df;hpb=a44c96f8de0dfbb302923b48961abc912b41803e diff --git a/i3-split-maybe b/i3-split-maybe index a15b83f..69e42c5 100755 --- a/i3-split-maybe +++ b/i3-split-maybe @@ -72,6 +72,7 @@ fi if (( w < half_w && h < half_h )); then i3-msg "split vertical, layout tabbed" elif (( w == screen_width )); then + : # if we had 2 windows on screen, made them vertical splits, then # closed one, it stays vertical split, but we want it horizontal at # that point. So, make it horizontal here.