aboutsummaryrefslogtreecommitdiff
path: root/lib/notification
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2019-03-26 22:09:10 +0200
committerTulir Asokan <tulir@maunium.net>2019-03-26 22:09:10 +0200
commitcc63a197c60bb77c2d020b525bae13d701ccf5a4 (patch)
treeb9bcee552a22bdfc546c71ad328cdebe96950036 /lib/notification
parentc3c7cc9b3503417afe11a8067095534a751dfd04 (diff)
Change more things
Diffstat (limited to 'lib/notification')
-rw-r--r--lib/notification/notify_linux.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/notification/notify_linux.go b/lib/notification/notify_linux.go
index 803f80d..2edbb54 100644
--- a/lib/notification/notify_linux.go
+++ b/lib/notification/notify_linux.go
@@ -20,8 +20,8 @@ import "os/exec"
func Send(title, text string, critical, sound bool) error {
args := []string{"-a", "gomuks"}
- if critical {
- args = append(args, "-u", "critical")
+ if !critical {
+ args = append(args, "-u", "low")
}
// if iconPath {
// args = append(args, "-i", iconPath)