From c3b6684dd249ca009dd03483f427bf7065a78740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sat, 30 Mar 2024 13:17:30 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20ux(hypr):=20add=20the=20screensh?= =?UTF-8?q?ot=20image=20as=20an=20icon=20in=20the=20notification?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/hypr/scripts/hyprshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/hypr/scripts/hyprshot b/.config/hypr/scripts/hyprshot index 227d73e9..d7b48bb5 100755 --- a/.config/hypr/scripts/hyprshot +++ b/.config/hypr/scripts/hyprshot @@ -56,7 +56,7 @@ function send_notification() { local message=$([ $CLIPBOARD -eq 1 ] && echo "Image copied to the clipboard" || echo "Image saved in ${1} and copied to the clipboard.") - action=$(notify-send --action "View Image" "Screenshot saved" \ + action=$(notify-send -i "$1" --action "View Image" "Screenshot saved" \ "${message}" \ -t "$NOTIF_TIMEOUT" -i "${1}" -a Hyprshot) if [ -n "$action" ]; then