Update screenprint2.sh

This commit is contained in:
FURK4NGG
2026-03-15 15:20:36 +03:00
committed by GitHub
parent a59ab709fc
commit 6cbf6257e5
+7 -2
View File
@@ -97,10 +97,15 @@ sys.exit(1)
fi
fi
# Normal alan seçimi
local file="$DIR/secili-alan-$(date +%Y%m%d-%H%M%S).png"
grim -g "$geom" "$file"
notify_ok "Selected Area"
if [ "$w" -le 5 ] || [ "$h" -le 5 ]; then
notify_ok "Selected Screen"
else
notify_ok "Selected Area"
fi
printf '%s\n' "$file"
}