Browse Source

Added bspwm receptacle hotkeys.

master
Daniel Sissom 4 years ago
parent
commit
788a4c368f
Signed by untrusted user who does not match committer: djsissom GPG Key ID: 2C30FFB796852389
1 changed files with 21 additions and 5 deletions
  1. + 21
    - 5
      sxhkd/sxhkdrc

+ 21
- 5
sxhkd/sxhkdrc

@ -105,7 +105,7 @@ alt + apostrophe
# send window to preselection
alt + Return
bspc node --to-node last.!automatic
bspc node --to-node last.\!automatic --follow
# select splitting ratio of window
alt + ctrl + {1-9}
@ -119,12 +119,28 @@ alt + {_,shift + }c
alt + shift + b
bspc node --swap biggest
# insert receptacle, or clear receptacles on current desktop
alt + {_,shift} + r
insert={true,false}; \
$insert && bspc node --insert-receptacle || \
# insert receptacle
alt + r
bspc node --insert-receptacle
# clear receptacles on current desktop
alt + shift + r
for win in `bspc query -N -n .leaf.\!window.local`; do bspc node $win --kill; done
# send window to receptacle on current desktop
alt + super + Return
bspc node --to-node `bspc query -N -n .leaf.\!window.local` --follow
# move node to adjacent receptacle (this doesn't seem to work...)
alt + ctrl + super + {h,j,k,l}
bspc node --to-node `bspc query -N -n {west,south,north,east}`
# move node to receptacle on previous/next monitor/desktop
alt + {_,shift +} super + bracket{left,right}
type={monitor,desktop}; \
direction={prev,next}; \
bspc node --to-node `bspc query -N --$type $direction -n .leaf.\!window` --follow
# make fullscreen across all monitors
super + alt + f
bspc node --state \~floating; xdotool getactivewindow windowsize 5920 1080 windowmove 0 0

Loading…
Cancel
Save