Bypass do-not-disturb mode

This commit is contained in:
Maja Kądziołka 2023-03-05 15:09:44 +01:00
parent d1a03b924e
commit cc129b9387
No known key found for this signature in database

View file

@ -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)