Files
dots/.config/sxhkd/sxhkdrc

108 lines
1.5 KiB
Plaintext
Executable File

# Keybindings
# Basic
super + w
bspc node -c
super + ctrl + r
bspc wm -r
# Focus
super + h
bspc node -f west
super + j
bspc node -f south
super + k
bspc node -f north
super + l
bspc node -f east
# Shift
super + shift + h
bspc node -s west
super + shift + j
bspc node -s south
super + shift + k
bspc node -s north
super + shift + l
bspc node -s east
# Split focused frame
super + y
bspc node -p west
super + u
bspc node -p south
super + i
bspc node -p north
super + o
bspc node -p east
# Desktop
super + {a,s,d,f,g,z,x,c,v,b}
set d '{a,s,d,f,g,z,x,c,v,b}'; \
bspc desktop -f "$d.local" || bspc desktop -s "$d"
# this is running on fish for some reason
# Monitor
super + m
bspc monitor -f next
# Resize
super + ctrl + {h,j,k,l}
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
# Cycle layouts
super + Tab
bspc desktop -l next
# Window attributes
super + ctrl + e
bspc node -t floating
super + ctrl + w
bspc node -t fullscreen
super + ctrl + q
bspc node -t tiled
# Media keys
XF86AudioMute
pulsemixer --toggle-mute
XF86AudioLowerVolume
pulsemixer --change-volume -5
XF86AudioRaiseVolume
pulsemixer --change-volume +5
XF86MonBrightnessDown
light -U 5
XF86MonBrightnessUp
light -A 5
# Application launchers
super + Return
kitty
super + space
rofi -show run
super + grave
flameshot gui
super + 1
nemo
super + 2
firefox
super + 3
rofi -show calc
super + 4
kitty -e nmcpcpp
super + 0
i3lock