adding bin files

This commit is contained in:
2023-04-18 09:55:20 +02:00
parent 363dc6c974
commit 1dc6b93bd5
24 changed files with 531 additions and 0 deletions

14
bin/euclid_balancer Executable file
View File

@ -0,0 +1,14 @@
#!/bin/dash
if [ "$(pgrep -cx euclid_balancer)" -gt 1 ] ; then
killall euclid_balancer && exit 0
else
bspc subscribe node_add node_remove node_state node_geometry | while read line; do
for wid in $(bspc query -N -d -n .window); do
bspc node "${wid}#@north" -B || true
bspc node "${wid}#@south" -B || true
done
done
fi