diff --git a/hyprshot b/hyprshot index 0fb976f..a98f1c3 100755 --- a/hyprshot +++ b/hyprshot @@ -134,7 +134,9 @@ function checkRunning() { sleep 1 while [[ 1 == 1 ]]; do if [[ $(pgrep slurp | wc -m) == 0 ]]; then - pkill hyprpicker + if [ $FREEZE -eq 1 ]; then + pkill hyprpicker + fi exit fi done