add screenshoting key maps

This commit is contained in:
desolate
2026-05-15 02:13:34 +03:00
parent c9e2697634
commit 7ee4f8d491
@@ -21,6 +21,10 @@ riverctl map normal $mod q close
riverctl map normal $mod m spawn 'riverctl exit' riverctl map normal $mod m spawn 'riverctl exit'
riverctl map normal $mod+Shift l spawn 'waylock -init-color 0x000000 -input-color 0x111111 -fail-color 0x220000' riverctl map normal $mod+Shift l spawn 'waylock -init-color 0x000000 -input-color 0x111111 -fail-color 0x220000'
# Screenshots
riverctl map normal None Print spawn 'grim - | wl-copy --type image/png'
riverctl map normal None XF86SelectiveScreenshot spawn 'grim -g "$(slurp)" - | wl-copy --type image/png'
# Volume # Volume
riverctl map normal None XF86AudioRaiseVolume spawn 'wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+' riverctl map normal None XF86AudioRaiseVolume spawn 'wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+'
riverctl map normal None XF86AudioLowerVolume spawn 'wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-' riverctl map normal None XF86AudioLowerVolume spawn 'wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-'