From 56d6ecf759c1e075800c3ad830895abd63d3b81f Mon Sep 17 00:00:00 2001 From: sudacode Date: Sun, 4 May 2025 15:32:44 -0700 Subject: [PATCH] add app icon --- change-wallpaper.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/change-wallpaper.go b/change-wallpaper.go index e6944e2..11cc6b1 100644 --- a/change-wallpaper.go +++ b/change-wallpaper.go @@ -189,7 +189,7 @@ func changeWallpaper(wallpaperPath, topic string) { } func notify(message, urgency string) { - cmd := exec.Command("notify-send", "-i", "hyprpaper", "-u", urgency, "change-wallpaper.go", message) + cmd := exec.Command("notify-send", "-a", "change-wallpaper", "-i", "hyprpaper", "-u", urgency, "change-wallpaper.go", message) if err := cmd.Run(); err != nil { fmt.Fprintf(os.Stderr, "Error sending notification: %v\n", err) } @@ -197,7 +197,7 @@ func notify(message, urgency string) { // notifyWithIcon sends a notification with a custom icon (wallpaper image) func notifyWithIcon(message, urgency, iconPath string) { - cmd := exec.Command("notify-send", "-i", iconPath, "-u", urgency, "change-wallpaper.go", message) + cmd := exec.Command("notify-send", "-a", "change-wallpaper", "-i", iconPath, "-u", urgency, "change-wallpaper.go", message) if err := cmd.Run(); err != nil { fmt.Fprintf(os.Stderr, "Error sending notification: %v\n", err) }