2020-07-29 17:08:22 -05:00
|
|
|
# vim:ft=bash
|
2020-05-31 17:39:29 -05:00
|
|
|
|
|
|
|
## GENERAL HOTKEYS
|
|
|
|
alt + Return
|
|
|
|
$TERMINAL
|
|
|
|
alt + space
|
|
|
|
rofi -show drun
|
|
|
|
alt + backslash
|
|
|
|
rofi -show ssh
|
|
|
|
alt + Tab
|
|
|
|
rofi -show window
|
|
|
|
alt + Escape
|
|
|
|
pkill -USR1 -x sxhkd
|
|
|
|
ctrl + alt + l
|
2020-08-10 20:43:15 -05:00
|
|
|
loginctl lock-session
|
2020-05-31 17:39:29 -05:00
|
|
|
|
2020-07-29 17:08:22 -05:00
|
|
|
## APPLICATION TOGGLES
|
2020-05-31 17:39:29 -05:00
|
|
|
alt + p
|
2020-07-29 17:08:22 -05:00
|
|
|
killall pavucontrol-qt || pavucontrol-qt
|
|
|
|
alt + shift + m
|
2020-06-04 21:37:44 -05:00
|
|
|
killall compton || compton
|
2020-05-31 17:39:29 -05:00
|
|
|
|
2020-07-29 17:08:22 -05:00
|
|
|
## HARDWARE CONTROLS
|
2020-05-31 17:39:29 -05:00
|
|
|
XF86Audio{Raise,Lower}Volume
|
|
|
|
pactl set-sink-volume 0 {+,-}5%
|
|
|
|
XF86AudioMute
|
|
|
|
pactl set-sink-mute 0 toggle
|
|
|
|
XF86MonBrightness{Up,Down}
|
|
|
|
xbacklight {-inc,-dec} 5
|
|
|
|
|
2020-07-29 17:08:22 -05:00
|
|
|
## BSPWM
|
|
|
|
# Reload configs
|
2020-05-31 17:39:29 -05:00
|
|
|
alt + shift + r
|
2020-06-01 16:23:29 -05:00
|
|
|
~/.config/bspwm/bspwmrc
|
2020-07-29 17:08:22 -05:00
|
|
|
# Close or kill node
|
2020-05-31 17:39:29 -05:00
|
|
|
alt + {_,shift + }q
|
|
|
|
bspc node -{c,k}
|
2020-07-29 17:08:22 -05:00
|
|
|
# Focus or move the node in the given direction
|
|
|
|
alt + {_,shift + }{h,j,k,l}
|
|
|
|
bspc node -{f,s} {west,south,north,east}
|
|
|
|
# Focus or send to the given desktop
|
|
|
|
alt + {_,shift + }{1-9,0}
|
|
|
|
bspc {desktop -f,node -d} '{1-9,10}'
|
|
|
|
# Toggle monocle mode
|
2020-05-31 17:39:29 -05:00
|
|
|
alt + m
|
|
|
|
bspc desktop -l next
|
2020-07-29 17:08:22 -05:00
|
|
|
# Switch current node with biggest on current desktop
|
2020-05-31 17:39:29 -05:00
|
|
|
alt + g
|
2020-07-29 17:29:59 -05:00
|
|
|
bspc node -s biggest.local --follow
|
|
|
|
# Focus the node for the given path jump
|
|
|
|
alt + {a,c}
|
|
|
|
bspc node -f {@parent,biggest.descendant_of}
|
|
|
|
# Rotate, equalize, or balance selection
|
|
|
|
alt + {r,e,u}
|
|
|
|
bspc node -{R 90,E,B @/}
|
2020-07-29 17:08:22 -05:00
|
|
|
# Set window states
|
2020-05-31 17:39:29 -05:00
|
|
|
alt + {t,shift + t,f,shift + f}
|
|
|
|
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
|
2020-07-29 17:08:22 -05:00
|
|
|
# Set node flags
|
2020-05-31 17:39:29 -05:00
|
|
|
alt + ctrl + {x,y,z}
|
|
|
|
bspc node -g {locked,sticky,private}
|
2020-07-29 17:08:22 -05:00
|
|
|
# Focus the next/previous node in the current desktop
|
2020-05-31 17:39:29 -05:00
|
|
|
alt + {_,shift + }c
|
|
|
|
bspc node -f {next,prev}.local
|
2020-07-29 17:08:22 -05:00
|
|
|
# Focus the next/previous desktop in the current monitor
|
2020-05-31 17:39:29 -05:00
|
|
|
alt + {comma,period}
|
|
|
|
bspc desktop -f {prev,next}.local
|
2020-07-29 17:08:22 -05:00
|
|
|
# Expand a window by moving one of its side outward
|
2020-05-31 17:39:29 -05:00
|
|
|
super + alt + {h,j,k,l}
|
|
|
|
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
|
2020-07-29 17:08:22 -05:00
|
|
|
# Contract a window by moving one of its side inward
|
2020-05-31 17:39:29 -05:00
|
|
|
super + alt + shift + {h,j,k,l}
|
|
|
|
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
|
2020-07-29 17:08:22 -05:00
|
|
|
|