From c6a72fb6a2958c5128c28a5f01ff885c1808a2b5 Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Mon, 22 Jan 2024 20:59:50 -0500 Subject: Add screenshot functionality --- river/init | 3 +++ 1 file changed, 3 insertions(+) (limited to 'river/init') diff --git a/river/init b/river/init index 618453d..3d6c905 100755 --- a/river/init +++ b/river/init @@ -168,6 +168,9 @@ riverctl map normal Super D spawn bemenu-run riverctl map normal Super B spawn 'pkill -SIGUSR1 waybar' riverctl focus-follows-cursor normal +riverctl map normal Super+Shift P spawn 'grim /tmp/screenshot_$(date +S).png' +riverctl map normal Super+Shift+Control P spawn 'grim -g "$(slurp)" /tmp/screenshot_$(date +%S).png' + riverctl map normal Super P spawn dpw-menu riverctl map normal Super+Control P spawn 'dpw-menu -o' riverctl map normal Super O spawn 'dpw-menu --type' -- cgit v1.2.3