Custom icons (unix).

This commit is contained in:
Nuno Cruces 2022-05-09 13:49:36 +01:00
parent 2e4849398a
commit f63e14da39

View File

@ -42,6 +42,9 @@ func appendWidthHeight(args []string, opts options) []string {
}
func appendIcon(args []string, opts options) []string {
if opts.customIcon != "" {
args = append(args, "--window-icon", opts.customIcon)
}
switch opts.icon {
case ErrorIcon:
args = append(args, "--window-icon=error")