added binfiles from chrysostomus/bspwm-scripts, fixed eaten space

This commit is contained in:
2021-09-23 11:28:28 +02:00
parent 8950439dc2
commit 89420117a1
36 changed files with 848 additions and 1 deletions

13
bin/auto-presel Executable file
View File

@@ -0,0 +1,13 @@
#! /bin/sh
# Original script by https://github.com/ikn/ , modified to use splitting method of
# https://github.com/baskerville/bspwm/tree/master/examples/external_rules/pseudo_automatic_mode
fwid=$(bspc query -N -n focused)
wattr wh $fwid | {
read width height
if [ $width -gt $height ] ; then
bspc node -p \~east
else
bspc node -p \~south
fi
}