dotfiles/homedir/.config/bspwm/sxhkdrc
fbt 1b70d70942 changes
Signed-off-by: fbt <fbt@fleshless.org>
2023-03-07 13:45:07 +00:00

100 lines
1.7 KiB
Plaintext

#
# bspwm hotkeys
#
# general
super + w; {q,k}
bspc node -{c,k}
super + w; m; {t,f,T,F}
bspc node -t {tiled,floating,pseudo_tiled,fullscreen}
super + w; d; {0-9,h,p}
bspc node -d {0-9,h,p}
super + w; s; {Left,Up,Right,Down}
bspc node --presel-dir '~'{west,north,east,south}
super + w; {0-9,h,p}
bspc desktop -f {0-9,h,p}
super + w; space
bspc desktop -l next
super + w; l; {b,n,a}
bspc node -l {below,normal,above}
super + w; x
terminal
super + w; b
bspc node -s biggest.local.!hidden.window
super + w; Return
bspc node @focused:/ -R 90
super + w; w
ssm chameleon reload
super + w; c
win-hd-center 1280x720
super + w; r
IFS='x+' read -r new_w new_h new_x new_y < <(slop); wmctrl -r ":ACTIVE:" -e "0,${new_x},${new_y},${new_w},${new_h}"
# Locker
super + l; l
ssm lockd start_or_lock
super + l; {u,s}
ssm lockd stop
# Screenshots
Print
snap -f
shift + Print
snap
# Simple
super + {r,p,e,n}
dmenu-extras -l 9 {run,pass,emoji,note}
super + {j,k}
bspc node -f {prev,next}.local.!hidden.window
# Sound
{XF86AudioPrev,XF86AudioStop,XF86AudioPlay,XF86AudioNext}
playerctl {previous,stop,play-pause,next}
super + s; p
~/bin/sndbrd -p
super + s; s
~/bin/sndbrd
{XF86Tools,XF86Launch5,XF86Launch6,XF86Launch7}
~/bin/sndbrd-macro -p {0,1,2,3}
shift + {XF86Tools,XF86Launch5,XF86Launch6,XF86Launch7}
~/bin/sndbrd-macro -p {4,5,6,7}
control + {XF86Tools,XF86Launch5,XF86Launch6,XF86Launch7}
~/bin/sndbrd-macro -p {8,9,10,11}
# Music
super + m; {t, s, n, p}
mpc {toggle, stop, next, prev}
# Dunst
super + d; {space,c,h}
dunstctl {close-all,context,history-pop}
# Mute mic
super + s; m
pactl set-source-mute jack_in toggle
# Fucking Firefox man
#control + q
# /bin/true