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
|
2020-05-26 11:59:57 +00:00
|
|
|
alt + m : {h,l}
|
2020-05-26 08:33:32 +00:00
|
|
|
playerctl position {5-,5+}
|
|
|
|
# seek +/- 15 seconds
|
2020-05-26 11:59:57 +00:00
|
|
|
alt + m : shift + {h,l}
|
2020-05-26 08:33:32 +00:00
|
|
|
playerctl position {15-,15+}
|
|
|
|
# decrease/increase volume
|
2020-05-26 11:59:57 +00:00
|
|
|
alt + m : {j,k}
|
2020-05-26 08:33:32 +00:00
|
|
|
pulsemixer --change-volume {-5,+5}
|
|
|
|
# decrease/increase volume
|
2020-05-26 11:59:57 +00:00
|
|
|
alt + m : shift + {j,k}
|
2020-05-26 08:33:32 +00:00
|
|
|
playerctl {next,previous}
|
|
|
|
# pause/stop player
|
2020-05-26 11:59:57 +00:00
|
|
|
alt + m : {_,shift} + p
|
2020-05-26 08:33:32 +00:00
|
|
|
playerctl {play-pause,stop}
|
2020-05-26 09:46:53 +00:00
|
|
|
|
|
|
|
# academia mode
|
2020-05-26 11:59:57 +00:00
|
|
|
# due papers this week
|
|
|
|
alt + a : {F1,F2}
|
|
|
|
rofi-bib-due -p{1,3} -u $(date --date='fri this week' +%Y-%m-%d)
|
|
|
|
# due papers overall
|
|
|
|
alt + a : shift + {F1,F2}
|
|
|
|
rofi-bib-due -p{1,3}
|