Compare commits
2 commits
a3b08d0a40
...
0116c861bd
Author | SHA1 | Date | |
---|---|---|---|
0116c861bd | |||
d556ad85e4 |
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue