aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfedora.sh2
-rwxr-xr-xriver/init3
2 files changed, 4 insertions, 1 deletions
diff --git a/fedora.sh b/fedora.sh
index 64a09f0..a526435 100755
--- a/fedora.sh
+++ b/fedora.sh
@@ -21,5 +21,5 @@ fi
export PATH="$zigdir:$PATH"
cd -
./bldRiver.sh
-sudo yum -y install foot bemenu waybar swaylock swaybg
+sudo yum -y install foot bemenu waybar swaylock swaybg grim slurp
./bldSession.sh
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'