Change more things

This commit is contained in:
Tulir Asokan
2019-03-26 22:09:10 +02:00
parent c3c7cc9b35
commit cc63a197c6
7 changed files with 112 additions and 44 deletions

View File

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