fix(screencapt): screenshot preview was not displayed in notification
This commit is contained in:
parent
d556ad85e4
commit
0116c861bd
1 changed files with 1 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]}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue