river: Add dunst key mappings
Added notification dismissal and recovery key binds to river key bindings. This is necessary since in wayland dunst can't just receive key presses anymore. The new key binds are: ``` Mod+N - dismiss 1 notification Mod+Shift+N - dismiss all notifications Mod+Control+N - display last dismissed notification(s) again ```
This commit is contained in:
parent
0e4556accb
commit
4d563be7a4
1 changed files with 11 additions and 2 deletions
|
@ -48,16 +48,20 @@ riverctl map normal $mod backspace spawn "powermenu"
|
||||||
|
|
||||||
# Open Bookmark search
|
# Open Bookmark search
|
||||||
riverctl map normal None XF86Search spawn "qutedmenu"
|
riverctl map normal None XF86Search spawn "qutedmenu"
|
||||||
|
riverctl map normal $mod+Shift O spawn "qutedmenu"
|
||||||
|
|
||||||
# Open clipboard history
|
# Open clipboard history
|
||||||
riverctl map normal $mod+Shift Space spawn "clipman pick --tool=bemenu"
|
riverctl map normal $mod+Shift Space spawn "clipman pick --tool=bemenu"
|
||||||
|
|
||||||
# Open floting calculator
|
# Open floating calculator
|
||||||
riverctl map normal $mod+Shift R spawn "$term --class float -e qalc"
|
riverctl map normal $mod+Shift R spawn "$term --class float -e qalc"
|
||||||
|
|
||||||
|
# Open emoji picker
|
||||||
|
riverctl map normal $mod+Shift E spawn "bemoji -t"
|
||||||
|
|
||||||
# Desktop theming
|
# Desktop theming
|
||||||
# shellcheck disable=SC2016
|
# shellcheck disable=SC2016
|
||||||
riverctl map normal $mod F8 spawn 'styler set $(styler list themes | bemenu)'
|
riverctl map normal $mod+Shift S spawn 'styler set $(styler list themes | bemenu)'
|
||||||
|
|
||||||
# Password dropdown frontend
|
# Password dropdown frontend
|
||||||
riverctl map normal $mod+Shift P spawn "pass-pick"
|
riverctl map normal $mod+Shift P spawn "pass-pick"
|
||||||
|
@ -71,6 +75,11 @@ riverctl map normal Shift Print spawn "screenshot | sharefile -"
|
||||||
riverctl map normal $mod Print spawn "screenshot region"
|
riverctl map normal $mod Print spawn "screenshot region"
|
||||||
riverctl map normal $mod+Shift Print spawn "screenshot region | sharefile -"
|
riverctl map normal $mod+Shift Print spawn "screenshot region | sharefile -"
|
||||||
|
|
||||||
|
# control dunst notification daemon
|
||||||
|
riverctl map normal $mod N spawn "dunstctl close"
|
||||||
|
riverctl map normal $mod+Shift N spawn "dunstctl close-all"
|
||||||
|
riverctl map normal $mod+Control N spawn "dunstctl history-pop"
|
||||||
|
|
||||||
# # Clear clipboard
|
# # Clear clipboard
|
||||||
# riverctl map normal $mod BackSpace spawn 'wl-copy -c && printf ''|xclip -selection c'
|
# riverctl map normal $mod BackSpace spawn 'wl-copy -c && printf ''|xclip -selection c'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue