river: Add quick emergency clipboard clear shortcut

Use `Mod+Shift+Control + Space` to clear all. Basically is the same
shortcut as *showing* the clipboard, only with control pressed on
additionally.
This commit is contained in:
Marty Oehme 2024-07-29 22:54:58 +02:00
parent 7af5fca62a
commit 63cc63bb70
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -58,8 +58,9 @@ riverctl map normal $mod backspace spawn "powermenu"
riverctl map normal None XF86Search spawn "qutedmenu" riverctl map normal None XF86Search spawn "qutedmenu"
riverctl map normal $mod+Shift O spawn "qutedmenu" riverctl map normal $mod+Shift O spawn "qutedmenu"
# Open clipboard history # Clipboard history
riverctl map normal $mod+Shift Space spawn "clipman pick --tool=bemenu" riverctl map normal $mod+Shift Space spawn "clipman pick --tool=bemenu"
riverctl map normal $mod+Shift+Control Space spawn "clipman clear --all"
# Open floating calculator # Open floating calculator
riverctl map normal $mod+Shift R spawn "$term -e --class float qalc" riverctl map normal $mod+Shift R spawn "$term -e --class float qalc"