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

13
bin/focusmover Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
#Focus windows by direction, works with multihead
#called like this in sxhkdrc:
#super + {a,s,w,d}
# focusmover {west,south,north,east}
bspc config pointer_follows_monitor true; \
bspc config pointer_follows_focus true; \
dir=$@; \
if ! bspc node -f $dir; then \
bspc monitor -f $dir; \
fi; \
bspc config pointer_follows_monitor false; \
bspc config pointer_follows_focus false