Marty Oehme
b628f7e4e8
Removed the unused dunst pausing hotkey, and switched it for a search of qutebrowser bookmarks, quickmarks, and history. Key mapping is fn+<Search-Key> (F9 on my machine), and it will open in a dmenu-like frame. Results will open in the last opened browser instance, or open a new one.
103 lines
2.5 KiB
Text
103 lines
2.5 KiB
Text
# 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 -selected-row 2
|
|
|
|
# quick-switching of theme using styler
|
|
super + F8
|
|
styler set $(styler list themes | rofi -dmenu -theme /themes/dropdown -matching fuzzy -filter "-256 -atelier ")
|
|
|
|
super + F7
|
|
polybar-msg cmd toggle
|
|
|
|
# enable function (/media) key functionality
|
|
XF86MonBrightness{Up,Down}
|
|
control-brightness {up, down} 10
|
|
XF86AudioMute
|
|
control-volume mute
|
|
XF86Audio{LowerVolume,RaiseVolume}
|
|
control-volume {down, up}
|
|
|
|
XF86Search
|
|
~/.local/share/qutebrowser/userscripts/qutedmenu
|
|
# dunstctl set-paused toggle && echo "$(dunstctl is-paused)" > /tmp/dunstpaused
|
|
|
|
# Open terminal emulator (the variable gets set in sh module basic env vars)
|
|
super + Return
|
|
$TERMINAL
|
|
|
|
# open quick start menu
|
|
super + space
|
|
rofi -show drun -theme themes/dmenu
|
|
|
|
# open more extensive run menu
|
|
super + shift + space
|
|
rofi -modi combi,ssh -show combi -combi-modi "window,clipboard:greenclip print,run" -theme themes/dropdown
|
|
|
|
# open dropdown calculator -- top left (small r), bottom right (capital R)
|
|
super + { r, shift + r }
|
|
rofi -modi calc -show calc -location { 1, 5 }
|
|
|
|
# open gopass frontend menu
|
|
super + shift + p
|
|
rofi-pass -theme themes/dropdown
|
|
|
|
# open surfraw rofi frontend
|
|
super + shift + q
|
|
rofi-surfraw
|
|
|
|
# insert emojis into any document/form
|
|
super + shift + e
|
|
rofimoji
|
|
|
|
super + shift + u
|
|
alacritty --class floating,floating -e sharefile | xargs notify-send
|
|
|
|
# invoke qutebrowser userscript to open link (from history/marks)
|
|
super + shift + o
|
|
qutedmenu
|
|
|
|
## modes
|
|
|
|
# mode:media:alt + m
|
|
# seek +/- 5 seconds
|
|
alt + m : {h,l}
|
|
playerctl position {5-,5+}
|
|
# seek +/- 15 seconds
|
|
alt + m : shift + {h,l}
|
|
playerctl position {15-,15+}
|
|
# decrease/increase volume
|
|
alt + m : {j,k}
|
|
pulsemixer --change-volume {-5,+5}
|
|
# decrease/increase volume
|
|
alt + m : shift + {j,k}
|
|
playerctl {next,previous}
|
|
# pause/stop player
|
|
alt + m : {_,shift} + p
|
|
playerctl {play-pause,stop}
|
|
# exit mode
|
|
alt + m : alt + m
|
|
pkill -ALRM sxhkd
|
|
|
|
# mode:academia:alt + a
|
|
# 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}
|
|
alt + a : F3
|
|
rofi-bib-due
|
|
# read wallabag articles from the cmdline
|
|
alt + a : {r, shift+r}
|
|
alacritty --class floating,floating -e wallr {-n,_}
|
|
# exit mode
|
|
alt + a : alt + a
|
|
pkill -ALRM sxhkd
|