Custom icons (unix).
This commit is contained in:
parent
2e4849398a
commit
f63e14da39
1 changed files with 3 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue