commit 5ec99d5

delthas  ·  2024-07-30 17:15:45 +0000 UTC
parent 72d9503
notify: Fix notification icon name

Gnome already displayed the correct icon, thanks to app-name and
desktop-entry.
1 files changed,  +1, -1
+1, -1
1@@ -19,7 +19,7 @@ func notifyDBus(title, content string) int {
2 	}
3 	var r uint32
4 	obj := conn.Object("org.freedesktop.Notifications", "/org/freedesktop/Notifications")
5-	err = obj.Call("org.freedesktop.Notifications.Notify", 0, "senpai", uint32(0), "image-path", title, content, []string{
6+	err = obj.Call("org.freedesktop.Notifications.Notify", 0, "senpai", uint32(0), "senpai", title, content, []string{
7 		"default", "Open",
8 	}, map[string]dbus.Variant{
9 		"category":      dbus.MakeVariant("im.received"),