Files
dotfiles/homedir/.config/bspwm/sxhkdrc
T

100 lines
1.7 KiB
Plaintext
Raw Normal View History

2017-05-03 16:10:13 +03:00
#
# bspwm hotkeys
#
2018-07-29 15:11:03 +03:00
# general
2019-10-03 12:03:31 +03:00
super + w; {q,k}
bspc node -{c,k}
2017-05-03 16:10:13 +03:00
2018-08-07 22:17:17 +03:00
super + w; m; {t,f,T,F}
2018-07-29 15:11:03 +03:00
bspc node -t {tiled,floating,pseudo_tiled,fullscreen}
2017-05-03 16:10:13 +03:00
2019-10-03 12:03:31 +03:00
super + w; d; {0-9,h,p}
bspc node -d {0-9,h,p}
2017-05-03 16:10:13 +03:00
2018-07-29 15:11:03 +03:00
super + w; s; {Left,Up,Right,Down}
bspc node --presel-dir '~'{west,north,east,south}
2017-05-03 16:10:13 +03:00
2019-10-03 12:03:31 +03:00
super + w; {0-9,h,p}
bspc desktop -f {0-9,h,p}
2017-05-03 16:10:13 +03:00
2018-07-29 15:11:03 +03:00
super + w; space
2017-05-03 16:10:13 +03:00
bspc desktop -l next
2020-12-09 00:34:57 +03:00
super + w; l; {b,n,a}
bspc node -l {below,normal,above}
2018-08-07 22:17:17 +03:00
super + w; x
terminal
2019-10-03 12:03:31 +03:00
super + w; b
2020-12-09 00:34:57 +03:00
bspc node -s biggest.local.!hidden.window
2019-10-03 12:03:31 +03:00
super + w; Return
bspc node @focused:/ -R 90
super + w; w
ssm chameleon reload
2022-01-12 11:43:46 +03:00
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}"
2019-10-03 12:03:31 +03:00
2018-08-07 22:17:17 +03:00
# Locker
super + l; l
2019-10-03 12:03:31 +03:00
ssm lockd start_or_lock
2018-08-07 22:17:17 +03:00
super + l; {u,s}
2018-07-29 15:11:03 +03:00
ssm lockd stop
2017-05-03 16:10:13 +03:00
2023-03-07 13:45:07 +00:00
# Screenshots
2018-07-29 15:11:03 +03:00
Print
snap -f
2017-05-03 16:10:13 +03:00
2018-07-29 15:11:03 +03:00
shift + Print
snap
2017-05-03 16:10:13 +03:00
2023-03-07 13:45:07 +00:00
# Simple
2022-01-12 11:43:46 +03:00
super + {r,p,e,n}
dmenu-extras -l 9 {run,pass,emoji,note}
2017-06-13 16:03:45 +03:00
2018-07-29 15:11:03 +03:00
super + {j,k}
2020-12-09 00:34:57 +03:00
bspc node -f {prev,next}.local.!hidden.window
2017-05-03 16:10:13 +03:00
2018-07-29 15:11:03 +03:00
# Sound
2022-01-12 11:43:46 +03:00
{XF86AudioPrev,XF86AudioStop,XF86AudioPlay,XF86AudioNext}
playerctl {previous,stop,play-pause,next}
2017-08-12 02:59:32 +03:00
2020-12-09 00:34:57 +03:00
super + s; p
~/bin/sndbrd -p
super + s; s
~/bin/sndbrd
2022-01-12 11:43:46 +03:00
{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}
2023-03-07 13:45:07 +00:00
# Music
super + m; {t, s, n, p}
mpc {toggle, stop, next, prev}
2022-01-12 11:43:46 +03:00
# Dunst
super + d; {space,c,h}
dunstctl {close-all,context,history-pop}
2020-12-09 00:34:57 +03:00
# Mute mic
super + s; m
pactl set-source-mute jack_in toggle
2018-07-29 15:11:03 +03:00
# Fucking Firefox man
2023-03-07 13:45:07 +00:00
#control + q
# /bin/true