From db0587c94295521ddbb68722cd5785879af11afe Mon Sep 17 00:00:00 2001 From: sudacode Date: Sun, 4 May 2025 14:47:59 -0700 Subject: [PATCH] add icon to notification in notify function --- screenshot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenshot.go b/screenshot.go index 9f79550..4b89356 100644 --- a/screenshot.go +++ b/screenshot.go @@ -31,7 +31,7 @@ func notify(body, title string) { if title == "" { title = scriptName } - cmd := exec.Command("notify-send", "-a", "Screenshot", title, body) + cmd := exec.Command("notify-send", "-a", "Screenshot", "-i", "camera", title, body) if err := cmd.Run(); err != nil { fmt.Fprintf(os.Stderr, "notify error: %v\n", err) }