🎨 ux(hypr): add the screenshot image as an icon in the notification
This commit is contained in:
parent
fe79ef3f4a
commit
c3b6684dd2
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ function send_notification() {
|
||||||
local message=$([ $CLIPBOARD -eq 1 ] &&
|
local message=$([ $CLIPBOARD -eq 1 ] &&
|
||||||
echo "Image copied to the clipboard" ||
|
echo "Image copied to the clipboard" ||
|
||||||
echo "Image saved in <i>${1}</i> and copied to the clipboard.")
|
echo "Image saved in <i>${1}</i> and copied to the clipboard.")
|
||||||
action=$(notify-send --action "View Image" "Screenshot saved" \
|
action=$(notify-send -i "$1" --action "View Image" "Screenshot saved" \
|
||||||
"${message}" \
|
"${message}" \
|
||||||
-t "$NOTIF_TIMEOUT" -i "${1}" -a Hyprshot)
|
-t "$NOTIF_TIMEOUT" -i "${1}" -a Hyprshot)
|
||||||
if [ -n "$action" ]; then
|
if [ -n "$action" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue