dotfiles/sxhkd/.config/sxhkd/sxhkdrc

67 lines
1.6 KiB
Text
Raw Normal View History

# universal x key bindings
# System functionality
# Enable lock screen (TODO does not stop music, etc yet)
super + x
lockscreen
# Open System Power Menu
super + BackSpace
rofi -modi "powermenu:~/.config/rofi/modes/powermenu" -show powermenu -theme themes/powermenu
# quick-switching of theme using styler
super + F8
styler set $(styler list themes | rofi -dmenu -theme /themes/dropdown -matching fuzzy)
# enable function (/media) key functionality
XF86MonBrightness{Up,Down}
xbacklight {-inc,-dec} 10
XF86AudioMute
pulsemixer --toggle-mute
XF86Audio{RaiseVolume,LowerVolume}
pulsemixer --change-volume {-5,+5}
# Open terminal emulator (TODO find way to not hard-code alacritty, perhaps ENV vars)
super + Return
alacritty
# open quick start menu
super + space
rofi -show drun -theme themes/dmenu
# open more extensive run menu
super + r
rofi -modi combi,ssh,calc -show combi -combi-modi "window,clipboard:greenclip print,run" -theme themes/dropdown
# open gopass frontend menu
super + p
rofi-gopass -theme themes/dropdown
# open surfraw rofi frontend
super + q
rofi-surfraw
## modes
# media control mode
# seek +/- 5 seconds
super + alt + m : {h,l}
playerctl position {5-,5+}
# seek +/- 15 seconds
super + alt + m : shift + {h,l}
playerctl position {15-,15+}
# decrease/increase volume
super + alt + m : {j,k}
pulsemixer --change-volume {-5,+5}
# decrease/increase volume
super + alt + m : shift + {j,k}
playerctl {next,previous}
# pause/stop player
super + alt + m : {_,shift} + p
playerctl {play-pause,stop}
# academia mode
super + alt + a : d
echo noice