Compare commits

..

2 commits

View file

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