forked from ptrcnull/bat-alert
Bypass do-not-disturb mode
This commit is contained in:
parent
d1a03b924e
commit
cc129b9387
1 changed files with 1 additions and 1 deletions
2
main.go
2
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)
|
||||
|
|
Loading…
Reference in a new issue