First Commit
This is a first dotfiles config. I think I have a lot more to add tho...
This commit is contained in:
13
bin/.bin/focusmover
Executable file
13
bin/.bin/focusmover
Executable 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
|
Reference in New Issue
Block a user