Update screenprint2.sh
This commit is contained in:
+7
-2
@@ -97,10 +97,15 @@ sys.exit(1)
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Normal alan seçimi
|
|
||||||
local file="$DIR/secili-alan-$(date +%Y%m%d-%H%M%S).png"
|
local file="$DIR/secili-alan-$(date +%Y%m%d-%H%M%S).png"
|
||||||
grim -g "$geom" "$file"
|
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"
|
printf '%s\n' "$file"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user