Optimize x11 alert show

This commit is contained in:
vcaesar 2022-02-22 14:33:29 -08:00
parent f110d5bf9e
commit efc7c90b9f

View File

@ -224,10 +224,11 @@ func Alert(title, msg string, args ...string) bool {
c += cancelBtn + ":1"
}
c += ` -default ` + defaultBtn
c += ` -geometry 400x200`
out, err := Run(c)
if err != nil {
fmt.Println("Alert: ", err, ". ", string(out))
// fmt.Println("Alert: ", err, ". ", string(out))
return false
}