Kill selection if already active

This commit is contained in:
Ryan Hughes
2025-07-25 18:12:08 -04:00
parent 46e972172c
commit ac935bdaed

View File

@ -1,6 +1,6 @@
#!/bin/bash
hyprshot -m ${1:-region} --raw |
pkill slurp || hyprshot -m ${1:-region} --raw |
satty --filename - \
--output-filename ~/Pictures/screenshot-$(date +'%Y-%m-%d_%H-%M-%S').png \
--early-exit \