2019-05-22 12:41:33 +00:00
|
|
|
# universal x key bindings
|
|
|
|
|
|
|
|
# System functionality
|
|
|
|
|
2020-05-26 08:33:32 +00:00
|
|
|
# Enable lock screen (TODO does not stop music, etc yet)
|
2019-05-22 12:41:33 +00:00
|
|
|
super + x
|
2019-09-05 11:04:18 +00:00
|
|
|
lockscreen
|
2019-05-22 12:41:33 +00:00
|
|
|
|
2019-09-05 11:04:18 +00:00
|
|
|
# Open System Power Menu
|
2019-05-22 12:41:33 +00:00
|
|
|
super + BackSpace
|
2019-09-10 21:47:50 +00:00
|
|
|
rofi -modi "powermenu:~/.config/rofi/modes/powermenu" -show powermenu -theme themes/powermenu
|
2019-05-22 12:41:33 +00:00
|
|
|
|
2020-01-31 00:22:47 +00:00
|
|
|
# quick-switching of theme using styler
|
|
|
|
super + F8
|
2020-05-25 15:53:26 +00:00
|
|
|
styler set $(styler list themes | rofi -dmenu -theme /themes/dropdown -matching fuzzy)
|
2020-01-31 00:22:47 +00:00
|
|
|
|
2019-05-22 12:41:33 +00:00
|
|
|
# enable function (/media) key functionality
|
2020-05-26 08:33:32 +00:00
|
|
|
XF86MonBrightness{Up,Down}
|
|
|
|
xbacklight {-inc,-dec} 10
|
2019-05-22 12:41:33 +00:00
|
|
|
XF86AudioMute
|
2020-05-26 08:33:32 +00:00
|
|
|
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}
|
2020-05-26 09:46:53 +00:00
|
|
|
|
|
|
|
# academia mode
|
|
|
|
super + alt + a : d
|
|
|
|
echo noice
|