Closed LancerLucky closed 1 year ago
@LancerLucky known issue, see here for more info. I'm migrating everything as we speak.
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
Code of Conduct
What happened?
The nerd font update to 3.0.0 that removed a lot of icon and replaced with new icons, therefore some of the weather icon are missing after update the font
Theme
{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { "alignment": "left", "type": "prompt", "segments": [ { "type": "os", "style": "diamond", "leading_diamond": "\ue0b6", "powerline_symbol": "\ue0b0", "foreground": "#26C6DA", "background": "#3a4144", "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ", "properties": { "macos": "\uf179" } }, { "background": "#f77622", "foreground": "#262b44", "leading_diamond": "\ue0b6", "powerline_symbol": "\ue0b0", "properties": { "folder_icon": "\ue5fe", "folder_separator_icon": " \ue0b1 ", "mixed_threshold": 6, "style": "mixed" }, "style": "powerline", "template": " {{ .Path }} ", "type": "path" }, { "background": "#ff2d2d", "foreground": "#aaaaaa", "foreground_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#4922f7{{ end }}", "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#e43b44{{ end }}", "{{ if gt .Ahead 0 }}#4922f7{{ end }}", "{{ if gt .Behind 0 }}#2ce8f5{{ end }}" ], "powerline_symbol": "\ue0b0", "properties": { "display_status": true, "display_stash_count": true, "display_upstream_icon": true, "fetch_stash_count": true, "fetch_upstream_icon": true }, "style": "powerline", "template": " {{ .HEAD }} {{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and ( .Staging.Changed) ( .Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0}} {{ .StashCount }}{{ end }}{{ if gt .WorktreeCount 0}} \uf1bb {{ .WorktreeCount }}{{ end }} ", "type": "git" }, { "type": "shell", "style": "diamond", "powerline_symbol": "\uE0B2", "trailing_diamond": "\ue0b4", "foreground": "#ffffff", "background": "#0077c2", "properties": { "mapped_shell_names": { "pwsh": "\uebc7", "cmd": "\uebc4 ", "bash": "\uf1d3", "zsh": "\uf489" } } } ] }, { "type": "prompt", "alignment": "right", "overflow": "hide", "segments": [ { "background": "#2f2f2f", "foreground": "#26C6DA", "leading_diamond": "\ue0b6", "powerline_symbol": "\ue0b2", "invert_powerline": true, "properties": { "precision": 0 }, "style": "diamond", "template": " {{ round .PhysicalPercentUsed .Precision }}% ", "type": "sysinfo" }, { "type": "connection", "style": "powerline", "invert_powerline": true, "background": "#999999", "foreground": "#222222", "powerline_symbol": "\uE0B2", "trailing_diamond": "\ue0b4", "template": " {{ if eq .Type \"wifi\" }}\uf1eb {{.SSID}}{{ else if eq .Type \"ethernet\" }}\uf6ff {{.Type}}{{ end }} " }, { "type": "battery", "style": "powerline", "invert_powerline": true, "powerline_symbol": "\uE0B2", "foreground": "#193549", "background": "#ffeb3b", "background_templates": [ "{{if eq \"Charging\" .State.String}}#40c4ff{{end}}", "{{if eq \"Discharging\" .State.String}}#ff5722{{end}}", "{{if eq \"Full\" .State.String}}#4caf50{{end}}" ], "templates": [ "{{ if and (eq \"Discharging\" .State.String) (lt .Percentage 11) }}{{ end }}", "{{ if and (eq \"Discharging\" .State.String) (lt .Percentage 21) }}{{ end }}", "{{ if and (eq \"Discharging\" .State.String) (lt .Percentage 31) }}{{ end }}", "{{ if and (eq \"Discharging\" .State.String) (lt .Percentage 41) }}{{ end }}", "{{ if and (eq \"Discharging\" .State.String) (lt .Percentage 51) }}{{ end }}", "{{ if and (eq \"Discharging\" .State.String) (lt .Percentage 61) }}{{ end }}", "{{ if and (eq \"Discharging\" .State.String) (lt .Percentage 71) }}{{ end }}", "{{ if and (eq \"Discharging\" .State.String) (lt .Percentage 81) }}{{ end }}", "{{ if and (eq \"Discharging\" .State.String) (lt .Percentage 91) }}{{ end }}", "{{ if eq \"Discharging\" .State.String }}{{ end }}", "{{ if and (eq \"Charging\" .State.String) (lt .Percentage 11) }}{{ end }}", "{{ if and (eq \"Charging\" .State.String) (lt .Percentage 21) }}{{ end }}", "{{ if and (eq \"Charging\" .State.String) (lt .Percentage 31) }}{{ end }}", "{{ if and (eq \"Charging\" .State.String) (lt .Percentage 41) }}{{ end }}", "{{ if and (eq \"Charging\" .State.String) (lt .Percentage 51) }}{{ end }}", "{{ if and (eq \"Charging\" .State.String) (lt .Percentage 61) }}{{ end }}", "{{ if and (eq \"Charging\" .State.String) (lt .Percentage 71) }}{{ end }}", "{{ if and (eq \"Charging\" .State.String) (lt .Percentage 81) }}{{ end }}", "{{ if and (eq \"Charging\" .State.String) (lt .Percentage 91) }}{{ end }}", "{{ if eq \"Charging\" .State.String }}{{ end }}", "{{if eq \"Full\" .State.String}}{{end}}" ], "templates_logic": "first_match", "template": " {{ .Templates }} {{ .Percentage }}% " }, { "type": "owm", "style": "diamond", "invert_powerline": true, "powerline_symbol": "\uE0B2", "trailing_diamond": "\ue0b4", "foreground": "#000000", "background": "#990000", "background_templates": [ "{{ if (gt .Temperature 26) }}#990000{{ else if (gt .Temperature 18) }}#c99a00{{ else if (gt .Temperature 10) }}#00cf45{{ else }}#002FFF{{ end }}" ], "template": " {{.Weather}} ({{.Temperature}}{{.UnitIcon}})", "properties": { "apikey": "1f35b79f39223a8e0fcd7eb6e9a53bff", "location": "BEIJING,CN", "units": "metric", "http_timeout": 1500, "cache_timeout": 60 } } ] }, { "type": "prompt", "alignment": "left", "newline": true, "segments": [ { "type": "time", "style": "diamond", "leading_diamond": "\ue0b6", "powerline_symbol": "\ue0b0", "foreground": "#bbbbbb", "background": "#3a4144", "properties": { "time_format": "15:04:05" } }, { "background": "#fee761", "foreground": "#262b44", "powerline_symbol": "\ue0b0", "style": "powerline", "template": " \uf0e7 ", "type": "root" }, { "background": "#8800dd", "foreground": "#ffffff", "powerline_symbol": "\ue0b0", "properties": { "style": "austin", "threshold": 500 }, "style": "powerline", "template": " <#fefefe></> {{ .FormattedMs }} ", "type": "executiontime" }, { "background": "#0095e9", "background_templates": [ "{{ if gt .Code 0 }}#f1184c{{ end }}" ], "foreground": "#ffffff", "powerline_symbol": "\ue0b0", "properties": { "always_enabled": true }, "style": "powerline", "template": " {{ if gt .Code 0 }}\uf00d {{ .Meaning }}{{ else }}\uf42e{{ end }} ", "trailing_diamond": "\ue0b4", "type": "exit" } ] }, { "type": "rprompt", "alignment": "right", "segments": [ { "type": "dart", "style": "diamond", "invert_powerline": true, "leading_diamond": "\uE0B6", "powerline_symbol": "\uE0B2", "foreground": "#bbbbbb", "background": "#06A4CE", "template": " \uE798 {{ .Full }}\ue0b2</>"
},
{
"type": "flutter",
"style": "diamond",
"invert_powerline": true,
"leading_diamond": "\uE0B2",
"trailing_diamond": "\ue0b4",
"powerline_symbol": "\uE0B2",
"foreground": "#bbbbbb",
"background": "#06A4CE",
"template": " \ue28e {{ .Full }} "
},
{
"type": "angular",
"style": "diamond",
"leading_diamond": "\uE0B6",
"invert_powerline": true,
"powerline_symbol": "\uE0B2",
"foreground": "#000000",
"background": "#1976d2",
"template": " \uE753 {{ .Full }} \ue0b2</>"
},
{
"type": "node",
"style": "diamond",
"invert_powerline": true,
"leading_diamond": "\uE0B2",
"trailing_diamond": "\ue0b4",
"powerline_symbol": "\uE0B2",
"foreground": "#000000",
"background": "#6CA35E",
"template": " \uE718 {{ .Full }} "
}
]
}
],
"final_space": true,
"version": 2
}
What OS are you seeing the problem on?
macOS
Which shell are you using?
zsh
Log output