Compare commits

..

No commits in common. "0116c861bdb950483d4a7c69d2b5b3f13fa1bb32" and "a3b08d0a4089b79c0be80d1205e990e121d5ae37" have entirely different histories.

View file

@ -41,7 +41,7 @@ notify() {
message+="Available in the clipboard"
fi
command=(notify-send "${summary}" --app-name="$APP_NAME")
if [[ -n "$filename" && "$ACTION" == "screenshot" ]]; then
if [[ -n "$filename" && "$ACTION" == "screenshots" ]]; then
command+=(--icon="${filename}")
else
command+=("--icon=${ICONS[$ACTION]}")
@ -72,7 +72,6 @@ process_args() {
else
exit 1
fi
shift
;;
-f | --file)
TO_FILE=1