The accent doesnt seem to be working correctly. I used my windows setup from the accent and seems to be not taking it.
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"palette": {
"DeepBlack": "#111111",
"DeepGrey": "#303030"
},
"blocks": [
{
"alignment": "left",
"newline": true,
"segments": [
{
"background": "p:DeepGrey",
"foreground": "white",
"leading_diamond": "\ue0b6",
"properties": {
"macos": "\uf179 ",
"ubuntu": "\uebc6 ",
"windows": "\udb80\udf72 "
},
"style": "diamond",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
"trailing_diamond": "\ue0d6",
"type": "os"
},
{
"background": "p:DeepGrey",
"foreground": "white",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": "\uf489 {{ .Name }} ",
"trailing_diamond": "\ue0d6",
"type": "shell"
},
{
"background": "accent",
"foreground": "p:DeepGrey",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": "\udb80\udf5b CPU: {{ round .PhysicalPercentUsed .Precision }}% | ",
"type": "sysinfo"
},
{
"background": "accent",
"foreground": "p:DeepGrey",
"style": "diamond",
"template": "MEM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB \ue706 ",
"trailing_diamond": "\ue0d6",
"type": "sysinfo"
},
{
"background": "p:DeepBlack",
"foreground": "white",
"leading_diamond": "\ue0b2",
"properties": {
"style": "roundrock",
"threshold": 0
},
"style": "diamond",
"template": " {{ .FormattedMs }} ",
"trailing_diamond": "\ue0b0",
"type": "executiontime"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"type": "node",
"style": "diamond",
"powerline_symbol": "\uE0B0",
"leading_diamond": "\ue0b2",
"foreground": "lightGreen",
"background": "p:DeepBlack",
"trailing_diamond": "\ue0d6",
"template": " \uE718{{ .Full }} ",
"properties": {
"prefix": " \uE718 ",
"fetch_version": false
}
},
{
"type": "aws",
"style": "diamond",
"powerline_symbol": "\uE0B0",
"leading_diamond": "\ue0b2",
"foreground": "yellow",
"background": "p:DeepBlack",
"trailing_diamond": "\ue0d6",
"template": " \udb83\ude0f{{.Profile}}{{if .Region}}@{{.Region}}{{end}} ",
"properties": {
"prefix": " \uE718 ",
"fetch_version": false
}
},
{
"background": "green",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}yellow{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}magenta{{ end }}",
"{{ if gt .Ahead 0 }}blue{{ end }}",
"{{ if gt .Behind 0 }}red{{ end }}"
],
"foreground": "p:DeepGrey",
"leading_diamond": "\ue0b2",
"properties": {
"branch_icon": "\ue725 ",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true,
"fetch_worktree_count": true
},
"style": "diamond",
"template": " {{ .UpstreamIcon }} {{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ",
"trailing_diamond": "\ue0b0",
"type": "git"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"style": "plain",
"template": "\u256d\u2500",
"type": "text"
},
{
"properties": {
"time_format": "15:04"
},
"style": "plain",
"template": " \uf004 {{ .CurrentDate | date .Format }} |",
"type": "time"
},
{
"style": "plain",
"template": " \uf292 ",
"type": "root"
},
{
"properties": {
"folder_icon": "\uf07b ",
"folder_separator_icon": " \uf061 ",
"home_icon": "\udb80\udedc "
},
"style": "plain",
"template": " {{ .Path }} ",
"type": "path"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"properties": {
"always_enabled": true
},
"style": "plain",
"template": "\u2570\u2500 ",
"type": "exit"
}
],
"type": "prompt"
}
],
"console_title_template": "{{ .Folder }}",
"osc99": true,
"version": 2
}
Code of Conduct
What happened?
Brew Version
Problem
The accent doesnt seem to be working correctly. I used my windows setup from the accent and seems to be not taking it.
Preview
Output
Kind of what I expect. I use the gray color of macos. I like minimalism
Setting
Theme
{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "palette": { "DeepBlack": "#111111", "DeepGrey": "#303030" }, "blocks": [ { "alignment": "left", "newline": true, "segments": [ { "background": "p:DeepGrey", "foreground": "white", "leading_diamond": "\ue0b6", "properties": { "macos": "\uf179 ", "ubuntu": "\uebc6 ", "windows": "\udb80\udf72 " }, "style": "diamond", "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}", "trailing_diamond": "\ue0d6", "type": "os" }, { "background": "p:DeepGrey", "foreground": "white", "leading_diamond": "\ue0b2", "style": "diamond", "template": "\uf489 {{ .Name }} ", "trailing_diamond": "\ue0d6", "type": "shell" }, { "background": "accent", "foreground": "p:DeepGrey", "leading_diamond": "\ue0b2", "style": "diamond", "template": "\udb80\udf5b CPU: {{ round .PhysicalPercentUsed .Precision }}% | ", "type": "sysinfo" }, { "background": "accent", "foreground": "p:DeepGrey", "style": "diamond", "template": "MEM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB \ue706 ", "trailing_diamond": "\ue0d6", "type": "sysinfo" }, { "background": "p:DeepBlack", "foreground": "white", "leading_diamond": "\ue0b2", "properties": { "style": "roundrock", "threshold": 0 }, "style": "diamond", "template": " {{ .FormattedMs }} ", "trailing_diamond": "\ue0b0", "type": "executiontime" } ], "type": "prompt" }, { "alignment": "right", "segments": [ { "type": "node", "style": "diamond", "powerline_symbol": "\uE0B0", "leading_diamond": "\ue0b2", "foreground": "lightGreen", "background": "p:DeepBlack", "trailing_diamond": "\ue0d6", "template": " \uE718{{ .Full }} ", "properties": { "prefix": " \uE718 ", "fetch_version": false } }, { "type": "aws", "style": "diamond", "powerline_symbol": "\uE0B0", "leading_diamond": "\ue0b2", "foreground": "yellow", "background": "p:DeepBlack", "trailing_diamond": "\ue0d6", "template": " \udb83\ude0f{{.Profile}}{{if .Region}}@{{.Region}}{{end}} ", "properties": { "prefix": " \uE718 ", "fetch_version": false } }, { "background": "green", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}yellow{{ end }}", "{{ if and (gt .Ahead 0) (gt .Behind 0) }}magenta{{ end }}", "{{ if gt .Ahead 0 }}blue{{ end }}", "{{ if gt .Behind 0 }}red{{ end }}" ], "foreground": "p:DeepGrey", "leading_diamond": "\ue0b2", "properties": { "branch_icon": "\ue725 ", "fetch_stash_count": true, "fetch_status": true, "fetch_upstream_icon": true, "fetch_worktree_count": true }, "style": "diamond", "template": " {{ .UpstreamIcon }} {{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ", "trailing_diamond": "\ue0b0", "type": "git" } ], "type": "prompt" }, { "alignment": "left", "newline": true, "segments": [ { "style": "plain", "template": "\u256d\u2500", "type": "text" }, { "properties": { "time_format": "15:04" }, "style": "plain", "template": " \uf004 {{ .CurrentDate | date .Format }} |", "type": "time" }, { "style": "plain", "template": " \uf292 ", "type": "root" }, { "properties": { "folder_icon": "\uf07b ", "folder_separator_icon": " \uf061 ", "home_icon": "\udb80\udedc " }, "style": "plain", "template": " {{ .Path }} ", "type": "path" } ], "type": "prompt" }, { "alignment": "left", "newline": true, "segments": [ { "properties": { "always_enabled": true }, "style": "plain", "template": "\u2570\u2500 ", "type": "exit" } ], "type": "prompt" } ], "console_title_template": "{{ .Folder }}", "osc99": true, "version": 2 }What OS are you seeing the problem on?
macOS
Which shell are you using?
zsh
Log output