Move wayland scripts

This commit is contained in:
Kiana Sheibani 2024-05-11 19:25:27 -04:00
parent 07eac39788
commit d3b14d2698
6 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
if region="$(slurp)"; then
grim -g "$region" - | wl-copy
notify-send "Screenshot saved to clipboard" \
-a grim -c screenshot -u low -t 3000
else
notify-send "Screenshot cancelled" \
-a grim -c screenshot -u low -t 3000
fi