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"
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue