aboutsummaryrefslogtreecommitdiff
path: root/.config/river/init
diff options
context:
space:
mode:
Diffstat (limited to '.config/river/init')
-rwxr-xr-x.config/river/init8
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/river/init b/.config/river/init
index c5bf5d0..0b814ff 100755
--- a/.config/river/init
+++ b/.config/river/init
@@ -140,13 +140,13 @@ riverctl map normal Super F11 enter-mode passthrough
riverctl map passthrough Super F11 enter-mode normal
# Take a screenshot of the active output
-riverctl map normal None Print spawn "grim -o $(lswt -j | jq -c '.[] | select(.activated) | .outputs' | awk -F'"' '{print $2}') -t jpeg ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg"
+riverctl map normal None Print spawn '~/.local/bin/screenshot.sh'
# Take a screenshot of the selected region
-riverctl map normal Super Print spawn 'grim -t jpeg -g "$(slurp)" ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg'
+riverctl map normal Super Print spawn '~/.local/bin/screenshot.sh selected-region'
# Take a screenshot and save it to the clipboard
-riverctl map normal Super+Shift Print spawn 'grim -g "$(slurp)" -| wl-copy && notify-send "Screenshot Clipped"'
+riverctl map normal Super+Shift Print spawn '~/.local/bin/screenshot.sh save-to-clipboard'
# The scratchpad will live on an unused tag. Which tags are used depends on your
# config, but rivers default uses the first 9 tags.
@@ -187,7 +187,7 @@ done
riverctl background-color 0x002b36
riverctl border-color-focused 0x33ccff
riverctl border-color-unfocused 0x595959
-
+riverctl border-width 4
# Set keyboard repeat rate
riverctl set-repeat 50 300