Compare commits

...

2 commits

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" == "screenshots" ]]; then
if [[ -n "$filename" && "$ACTION" == "screenshot" ]]; then
command+=(--icon="${filename}")
else
command+=("--icon=${ICONS[$ACTION]}")
@ -72,6 +72,7 @@ process_args() {
else
exit 1
fi
shift
;;
-f | --file)
TO_FILE=1