From cc129b93873a65733e421196cd5ca168f27a46f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maja=20K=C4=85dzio=C5=82ka?= Date: Sun, 5 Mar 2023 15:09:44 +0100 Subject: [PATCH] Bypass do-not-disturb mode --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index d24823f..9cfc857 100644 --- a/main.go +++ b/main.go @@ -11,7 +11,7 @@ import ( ) func notify(msg string) { - cmd := exec.Command("notify-send", "-t", "5000", "bat-alert", msg) + cmd := exec.Command("notify-send", "-t", "5000", "-u", "critical", "bat-alert", msg) err := cmd.Run() if err != nil { log.Println(err)