From 7ee4f8d4913496b0b085abcfde3c20412161c8e6 Mon Sep 17 00:00:00 2001 From: desolate <...> Date: Fri, 15 May 2026 02:13:34 +0300 Subject: [PATCH] add screenshoting key maps --- dotfiles/river/.config/river/init-keymaps | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotfiles/river/.config/river/init-keymaps b/dotfiles/river/.config/river/init-keymaps index 603361e..4b9f46b 100755 --- a/dotfiles/river/.config/river/init-keymaps +++ b/dotfiles/river/.config/river/init-keymaps @@ -21,6 +21,10 @@ riverctl map normal $mod q close 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' +# 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 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%-'