Code of Conduct
What happened?
I am trying to make the leading diamond transparent, like actually transparent, not the same as bg color, but it doesn't work.
I am using kitty with 0 opacity.
{
"background": "#3078BF",
"foreground": "#102840",
"leading_diamond": "<transparent>\ue0b0</>",
"style": "diamond",
"template": " {{ .Icon }} ",
"trailing_diamond": "<#102840>\ue0b1",
"type": "os"
},
Theme
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#ACCAE6",
"foreground": "#102840",
"properties": {
"time_format": "15:04:05"
},
"style": "diamond",
"template": " {{ .CurrentDate | date .Format }} ",
"leading_diamond": "<#ACCAE6,transparent>\ue0b6</>",
"trailing_diamond": "\ue0b0",
"type": "time"
},
{
"background": "#3078BF",
"foreground": "#102840",
"leading_diamond": "<transparent>\ue0b0</>",
"style": "diamond",
"template": " {{ .Icon }} ",
"trailing_diamond": "<#102840>\ue0b1",
"type": "os"
},
{
"background": "#3078BF",
"foreground": "#102840",
"properties": {
"folder_icon": "...",
"folder_separator_icon": "<#102840> \ue0b1 </>",
"home_icon": "\ueb06",
"style": "unique",
"max_depth": 1
},
"style": "diamond",
"template": " {{ .Path }} ",
"trailing_diamond": "\ue0b0",
"type": "path"
},
{
"background": "#3078BF",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#BFA730{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#8330BF{{ end }}",
"{{ if gt .Ahead 0 }}#60BF30{{ end }}",
"{{ if gt .Behind 0 }}#3078BF{{ end }}"
],
"foreground": "#102840",
"powerline_symbol": "\ue0b0",
"properties": {
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true
},
"style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
"type": "git"
}
],
"type": "prompt"
}
],
"console_title_template": "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"\"}} @ {{.HostName}}",
"final_space": true,
"version": 3
}
What OS are you seeing the problem on?
Linux
Which shell are you using?
fish
Log output
oh-my-posh debug --plain
Version: 26.11.0
Shell: fish (4.0.2)
Prompt:
18:14:41 .config Arch ~7
Segments:
ConsoleTitle(true) - 0 ms
Time(true) - 0 ms
Os(true) - 0 ms
Path(true) - 2 ms
Git(true) - 27 ms
Run duration: 33.268817ms
Cache path: /home/nn/.cache/oh-my-posh
Config path: /home/nn/.config/oh-my-posh/Ricer.json
Logs:
[DEBUG] 18:14:41.560 debug.go:35 → logging enabled, raw mode: true
[DEBUG] 18:14:41.560 load.go:Path:79 → config set using POSH_THEME: /home/nn/.config/oh-my-posh/Ricer.json
[TRACE] 18:14:41.560 load.go:Path() - 20.15µs
[TRACE] 18:14:41.562 load.go:loadConfig() - 1.482202ms
[TRACE] 18:14:41.562 load.go:Load() - 1.499714ms
[DEBUG] 18:14:41.562 home.go:12 → /home/nn
[TRACE] 18:14:41.562 path.go:Path() - 48.386µs
[DEBUG] 18:14:41.562 file.go:Init:26 → loading cache file: /home/nn/.cache/oh-my-posh/omp.cache
[DEBUG] 18:14:41.562 file.go:Init:47 → loading cache key: INITVERSIONFISH
[DEBUG] 18:14:41.563 file.go:Init:47 → loading cache key: environment_platform
[DEBUG] 18:14:41.563 file.go:Init:47 → loading cache key: is_wsl
[TRACE] 18:14:41.563 file.go:Init(/home/nn/.cache/oh-my-posh/omp.cache) - 133.367µs
[DEBUG] 18:14:41.563 home.go:12 → /home/nn
[TRACE] 18:14:41.563 path.go:Path() - 32.537µs
[DEBUG] 18:14:41.563 file.go:Init:26 → loading cache file: /home/nn/.cache/oh-my-posh/omp.cache.262f6357-e2bc-4a4e-9798-b5647fac8ca7
[DEBUG] 18:14:41.563 file.go:Init:47 → loading cache key: prompt_count_cache
[TRACE] 18:14:41.563 file.go:Init(/home/nn/.cache/oh-my-posh/omp.cache.262f6357-e2bc-4a4e-9798-b5647fac8ca7) - 71.168µs
[DEBUG] 18:14:41.563 file.go:Get:80 → getting cache key: prompt_count_cache with value: 49
[TRACE] 18:14:41.563 terminal.go:setPromptCount() - 7.745µs
[TRACE] 18:14:41.563 terminal.go:GOOS() - 246ns
[DEBUG] 18:14:41.563 terminal.go:setPwd:113 → /home/nn/.config
[TRACE] 18:14:41.563 terminal.go:setPwd() - 29.437µs
[TRACE] 18:14:41.563 terminal.go:Init() - 888.028µs
[TRACE] 18:14:41.563 terminal.go:Shell() - 158ns
[TRACE] 18:14:41.563 terminal.go:Flags() - 240ns
[DEBUG] 18:14:41.563 file.go:Get:75 → cache key not found: template_cache
[TRACE] 18:14:41.563 cache.go:restoreCache() - 13.621µs
[TRACE] 18:14:41.563 terminal_unix.go:Root() - 1.213µs
[TRACE] 18:14:41.563 terminal.go:Shell() - 268ns
[TRACE] 18:14:41.563 terminal.go:Flags() - 105ns
[TRACE] 18:14:41.563 terminal.go:StatusCodes() - 149ns
[DEBUG] 18:14:41.563 file.go:Get:80 → getting cache key: is_wsl with value: false
[DEBUG] 18:14:41.563 terminal_unix.go:IsWsl:32 → false
[TRACE] 18:14:41.563 terminal_unix.go:IsWsl() - 32.136µs
[TRACE] 18:14:41.563 terminal.go:Flags() - 72ns
[TRACE] 18:14:41.563 terminal.go:Flags() - 58ns
[DEBUG] 18:14:41.563 home.go:12 → /home/nn
[DEBUG] 18:14:41.563 file.go:Get:80 → getting cache key: is_wsl with value: false
[DEBUG] 18:14:41.563 terminal_unix.go:IsWsl:32 → false
[TRACE] 18:14:41.563 terminal_unix.go:IsWsl() - 12.247µs
[TRACE] 18:14:41.563 terminal.go:Flags() - 58ns
[TRACE] 18:14:41.563 terminal.go:Flags() - 56ns
[TRACE] 18:14:41.563 terminal.go:GOOS() - 155ns
[DEBUG] 18:14:41.563 terminal.go:User:247 → nn
[TRACE] 18:14:41.563 terminal.go:User() - 11.427µs
[DEBUG] 18:14:41.563 terminal.go:Host:264 → pc
[TRACE] 18:14:41.563 terminal.go:Host() - 9.001µs
[TRACE] 18:14:41.563 terminal.go:GOOS() - 103ns
[DEBUG] 18:14:41.563 file.go:Get:80 → getting cache key: environment_platform with value: arch
[DEBUG] 18:14:41.563 terminal_unix.go:Platform:92 → arch
[DEBUG] 18:14:41.563 terminal.go:Getenv:75 → 2
[TRACE] 18:14:41.563 terminal.go:Getenv(SHLVL) - 6.02µs
[DEBUG] 18:14:41.564 writer.go:Init:106 → terminal program: Unknown
[DEBUG] 18:14:41.564 writer.go:Init:107 → terminal shell: shell
[DEBUG] 18:14:41.564 terminal.go:Getenv:75 → NO DATA
[TRACE] 18:14:41.564 terminal.go:Getenv(OMP_CACHE_DISABLED) - 6.278µs
[DEBUG] 18:14:41.564 file.go:Get:75 → cache key not found: accent_color
[TRACE] 18:14:41.564 colors.go:SetAccentColor() - 7.053µs
[TRACE] 18:14:41.564 terminal.go:Shell() - 139ns
[DEBUG] 18:14:41.564 terminal.go:Getenv:75 → 4.0.2
[TRACE] 18:14:41.564 terminal.go:Getenv(POSH_SHELL_VERSION) - 6.052µs
[DEBUG] 18:14:41.564 debug.go:PrintDebug:24 → segment: Title
[DEBUG] 18:14:41.564 text.go:patchTemplate:125 → {{if .Root}} ⚡ {{end}}{{.Folder | replace "~" ""}} @ {{.HostName}}
[TRACE] 18:14:41.564 text.go:Render({{if .Root}} ⚡ {{end}}{{.Folder | replace "~" ""}} @ {{.HostName}}) - 301.877µs
[TRACE] 18:14:41.564 terminal.go:Flags() - 130ns
[DEBUG] 18:14:41.564 terminal.go:Getenv:75 → NO DATA
[TRACE] 18:14:41.564 terminal.go:Getenv(POSH_CURSOR_LINE) - 8.569µs
[DEBUG] 18:14:41.564 terminal.go:Getenv:75 → NO DATA
[TRACE] 18:14:41.564 terminal.go:Getenv(POSH_CURSOR_COLUMN) - 10.902µs
[TRACE] 18:14:41.564 terminal.go:Flags() - 78ns
[TRACE] 18:14:41.564 terminal.go:Flags() - 78ns
[TRACE] 18:14:41.564 terminal.go:Flags() - 73ns
[DEBUG] 18:14:41.564 home.go:12 → /home/nn
[TRACE] 18:14:41.564 terminal.go:GOOS() - 183ns
[DEBUG] 18:14:41.564 segment.go:Execute:112 → segment: Git
[DEBUG] 18:14:41.564 file.go:Get:75 → cache key not found: toggle_cache
[DEBUG] 18:14:41.564 segment.go:isToggled:233 → no toggles found
[TRACE] 18:14:41.564 terminal.go:Flags() - 411ns
[DEBUG] 18:14:41.564 file.go:Get:80 → getting cache key: is_wsl with value: false
[DEBUG] 18:14:41.564 terminal_unix.go:IsWsl:32 → false
[DEBUG] 18:14:41.564 home.go:12 → /home/nn
[TRACE] 18:14:41.564 terminal_unix.go:IsWsl() - 27.759µs
[TRACE] 18:14:41.564 terminal_unix.go:IsWsl2() - 33.792µs
[TRACE] 18:14:41.564 terminal.go:GOOS() - 204ns
[DEBUG] 18:14:41.564 segment.go:Execute:112 → segment: Os
[TRACE] 18:14:41.564 terminal.go:GOOS() - 83ns
[DEBUG] 18:14:41.564 file.go:Get:75 → cache key not found: toggle_cache
[DEBUG] 18:14:41.564 segment.go:isToggled:233 → no toggles found
[DEBUG] 18:14:41.564 terminal.go:CommandPath:315 → /usr/bin/git
[TRACE] 18:14:41.564 terminal.go:CommandPath(git) - 32.597µs
[TRACE] 18:14:41.564 terminal.go:HasCommand(git) - 38.075µs
[TRACE] 18:14:41.564 terminal.go:Flags() - 371ns
[DEBUG] 18:14:41.565 home.go:12 → /home/nn
[TRACE] 18:14:41.565 terminal.go:GOOS() - 207ns
[DEBUG] 18:14:41.565 segment.go:Execute:112 → segment: Time
[DEBUG] 18:14:41.565 file.go:Get:75 → cache key not found: toggle_cache
[DEBUG] 18:14:41.565 segment.go:isToggled:233 → no toggles found
[DEBUG] 18:14:41.565 properties.go:GetString:28 → time_format: 15:04:05
[TRACE] 18:14:41.565 terminal.go:Flags() - 345ns
[TRACE] 18:14:41.565 terminal.go:GOOS() - 115ns
[DEBUG] 18:14:41.565 properties.go:GetBool:22 → fetch_bare_info: false
[DEBUG] 18:14:41.565 file.go:Get:80 → getting cache key: environment_platform with value: arch
[DEBUG] 18:14:41.565 home.go:12 → /home/nn
[DEBUG] 18:14:41.565 terminal_unix.go:Platform:92 → arch
[TRACE] 18:14:41.565 terminal.go:GOOS() - 222ns
[DEBUG] 18:14:41.565 properties.go:GetBool:22 → display_distro_name: false
[DEBUG] 18:14:41.565 terminal.go:ResolveSymlink:206 → /home/nn/.config
[DEBUG] 18:14:41.565 segment.go:Execute:112 → segment: Path
[TRACE] 18:14:41.565 terminal.go:ResolveSymlink(/home/nn/.config) - 21.299µs
[DEBUG] 18:14:41.565 properties.go:GetString:28 → arch:
[DEBUG] 18:14:41.565 file.go:Get:75 → cache key not found: toggle_cache
[TRACE] 18:14:41.565 terminal.go:HasParentFilePath(.git) - 34.393µs
[DEBUG] 18:14:41.565 segment.go:isToggled:233 → no toggles found
[DEBUG] 18:14:41.565 home.go:12 → /home/nn
[DEBUG] 18:14:41.565 text.go:patchTemplate:125 → {{ .Data.CurrentDate | date .Data.Format }}
[DEBUG] 18:14:41.565 properties.go:GetBool:22 → display_cygpath: false
[TRACE] 18:14:41.565 terminal.go:GOOS() - 140ns
[TRACE] 18:14:41.565 terminal.go:GOOS() - 81ns
[TRACE] 18:14:41.565 terminal.go:GOOS() - 112ns
[DEBUG] 18:14:41.565 properties.go:GetBool:22 → fetch_user: false
[DEBUG] 18:14:41.565 properties.go:GetString:28 → source: cli
[DEBUG] 18:14:41.565 properties.go:GetBool:22 → fetch_status: true
[TRACE] 18:14:41.565 separator.go:Separator() - 102ns
[DEBUG] 18:14:41.565 properties.go:GetStringArray:52 → ignore_status: []
[TRACE] 18:14:41.565 terminal.go:Shell() - 183ns
[DEBUG] 18:14:41.565 home.go:12 → /home/nn
[TRACE] 18:14:41.565 terminal.go:Shell() - 57ns
[TRACE] 18:14:41.565 terminal.go:GOOS() - 120ns
[TRACE] 18:14:41.565 terminal.go:GOOS() - 165ns
[DEBUG] 18:14:41.565 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 18:14:41.565 properties.go:GetString:28 → windows_registry_icon:
[DEBUG] 18:14:41.565 properties.go:GetString:28 → windows_registry_icon:
[DEBUG] 18:14:41.565 home.go:12 → /home/nn
[TRACE] 18:14:41.565 separator.go:Separator() - 347ns
[DEBUG] 18:14:41.565 properties.go:GetKeyValueMap:46 → status_formats: map[]
[DEBUG] 18:14:41.565 properties.go:GetKeyValueMap:46 → untracked_modes: map[]
[TRACE] 18:14:41.565 terminal.go:GOOS() - 269ns
[DEBUG] 18:14:41.565 properties.go:GetKeyValueMap:46 → ignore_submodules: map[]
[TRACE] 18:14:41.565 terminal.go:GOOS() - 81ns
[DEBUG] 18:14:41.565 properties.go:GetString:28 → home_icon:
[DEBUG] 18:14:41.565 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 18:14:41.566 separator.go:Separator() - 162ns
[TRACE] 18:14:41.566 terminal.go:GOOS() - 205ns
[TRACE] 18:14:41.566 terminal.go:GOOS() - 78ns
[TRACE] 18:14:41.566 separator.go:Separator() - 125ns
[TRACE] 18:14:41.566 terminal.go:GOOS() - 107ns
[TRACE] 18:14:41.566 terminal.go:GOOS() - 116ns
[TRACE] 18:14:41.566 terminal.go:GOOS() - 125ns
[TRACE] 18:14:41.566 terminal.go:GOOS() - 81ns
[TRACE] 18:14:41.566 terminal.go:GOOS() - 92ns
[DEBUG] 18:14:41.566 properties.go:GetString:28 → gitdir_format:
[DEBUG] 18:14:41.566 properties.go:GetString:28 → style: unique
[DEBUG] 18:14:41.566 properties.go:GetBool:22 → display_root: false
[DEBUG] 18:14:41.566 path.go:getUniqueLettersPath:484 → false
[DEBUG] 18:14:41.566 properties.go:GetString:28 → folder_separator_template:
[DEBUG] 18:14:41.566 properties.go:GetString:28 → folder_separator_icon: <#102840> </>
[DEBUG] 18:14:41.566 properties.go:GetBool:22 → display_root: false
[DEBUG] 18:14:41.566 properties.go:GetStringArray:52 → cycle: []
[TRACE] 18:14:41.566 text.go:Render( {{ .CurrentDate | date .Format }} ) - 1.216237ms
[DEBUG] 18:14:41.566 properties.go:GetString:28 → folder_separator_template:
[TRACE] 18:14:41.566 text.go:Render(diamond) - 288ns
[DEBUG] 18:14:41.566 properties.go:GetString:28 → folder_separator_icon: <#102840> </>
[DEBUG] 18:14:41.566 properties.go:GetBool:22 → cycle_folder_separator: false
[DEBUG] 18:14:41.566 properties.go:GetString:28 → folder_format: %s
[DEBUG] 18:14:41.567 properties.go:GetString:28 → edge_format: %s
[DEBUG] 18:14:41.567 properties.go:GetString:28 → left_format: %s
[DEBUG] 18:14:41.567 properties.go:GetString:28 → right_format: %s
[TRACE] 18:14:41.567 text.go:Render(<#102840> </>.config) - 317ns
[TRACE] 18:14:41.567 terminal.go:Flags() - 98ns
[TRACE] 18:14:41.567 terminal.go:GOOS() - 70ns
[TRACE] 18:14:41.567 terminal.go:StackCount() - 165ns
[TRACE] 18:14:41.567 terminal_unix.go:DirIsWritable(/home/nn/.config) - 12.253µs
[DEBUG] 18:14:41.567 text.go:patchTemplate:125 → {{ .Data.Icon }}
[TRACE] 18:14:41.567 text.go:Render( {{ .Icon }} ) - 116.05µs
[TRACE] 18:14:41.567 text.go:Render(diamond) - 280ns
[DEBUG] 18:14:41.567 text.go:patchTemplate:125 → {{ .Data.Path }}
[TRACE] 18:14:41.567 text.go:Render( {{ .Path }} ) - 66.95µs
[TRACE] 18:14:41.567 text.go:Render(diamond) - 136ns
[DEBUG] 18:14:41.591 terminal.go:RunCommand:291 ↓
# branch.oid 64f93b170800f464d4647d89a03d7dc7f884ee7e
# branch.head Arch
# branch.upstream origin/Arch
# branch.ab +0 -0
1 .M N... 100644 100644 100644 77d69606017f724b4684edfb363bd20819ad715c 77d69606017f724b4684edfb363bd20819ad715c QtProject.conf
1 .M N... 100644 100644 100644 fa48e307c759908fba805a1b29197cbe88112077 fa48e307c759908fba805a1b29197cbe88112077 Ricer/Files/Hyprland.conf
1 .M N... 100644 100644 100644 7b84372141191e044428f3bb529fbb8347f4a9b9 7b84372141191e044428f3bb529fbb8347f4a9b9 Ricer/FrostColored.toml
1 .M N... 100644 100644 100644 e1f4c32ab56d80dc0ff7bef7c8085a77c655a4cf e1f4c32ab56d80dc0ff7bef7c8085a77c655a4cf hypr/hyprland.conf
1 .M N... 100644 100644 100644 df99a61c1dbb90935570a56dc8a1792376db1344 df99a61c1dbb90935570a56dc8a1792376db1344 hypr/plugins.conf
1 .M N... 100644 100644 100644 da18f069a3dbb4fb80bb46e95fe9c4b619c6b8e4 da18f069a3dbb4fb80bb46e95fe9c4b619c6b8e4 kitty/kitty.conf
1 .M N... 100644 100644 100644 a4433d32db2a2d4455fc21852e58d52622a7ab54 a4433d32db2a2d4455fc21852e58d52622a7ab54 oh-my-posh/Ricer.json
[TRACE] 18:14:41.591 terminal.go:RunCommand(git -C /home/nn/.config --no-optional-locks -c core.quotepath=false -c color.status=false status -unormal --branch --porcelain=2) - 25.619778ms
[DEBUG] 18:14:41.591 properties.go:GetString:28 → branch_icon:
[DEBUG] 18:14:41.591 properties.go:GetKeyValueMap:46 → mapped_branches: map[]
[DEBUG] 18:14:41.591 properties.go:GetString:28 → branch_template:
[DEBUG] 18:14:41.591 terminal.go:HasFolder:191 → false
[TRACE] 18:14:41.591 terminal.go:HasFolder(/home/nn/.config/.git/rebase-merge) - 9.555µs
[DEBUG] 18:14:41.591 terminal.go:HasFolder:191 → false
[TRACE] 18:14:41.591 terminal.go:HasFolder(/home/nn/.config/.git/rebase-apply) - 4.823µs
[DEBUG] 18:14:41.591 properties.go:GetString:28 → commit_icon:
[DEBUG] 18:14:41.592 terminal.go:HasFilesInDir:162 → false
[TRACE] 18:14:41.592 terminal.go:HasFilesInDir(MERGE_MSG) - 46.523µs
[DEBUG] 18:14:41.592 terminal.go:HasFilesInDir:162 → false
[TRACE] 18:14:41.592 terminal.go:HasFilesInDir(CHERRY_PICK_HEAD) - 6.501µs
[DEBUG] 18:14:41.592 terminal.go:HasFilesInDir:162 → false
[TRACE] 18:14:41.592 terminal.go:HasFilesInDir(REVERT_HEAD) - 5.929µs
[DEBUG] 18:14:41.592 terminal.go:HasFilesInDir:162 → false
[TRACE] 18:14:41.592 terminal.go:HasFilesInDir(sequencer/todo) - 6.347µs
[DEBUG] 18:14:41.592 properties.go:GetString:28 → branch_identical_icon: ≡
[DEBUG] 18:14:41.592 properties.go:GetBool:22 → fetch_upstream_icon: true
[DEBUG] 18:14:41.592 git.go:getRemoteURL:928 → remote url found in config: git@github.com:nnra6864/Hyprnord.git
[DEBUG] 18:14:41.592 properties.go:GetKeyValueMap:46 → upstream_icons: map[]
[DEBUG] 18:14:41.592 properties.go:GetString:28 → github_icon:
[DEBUG] 18:14:41.592 text.go:patchTemplate:125 → {{ .Data.UpstreamIcon }}{{ .Data.HEAD }}{{ if .Data.Staging.Changed }} {{ .Data.Staging.String }}{{ end }}{{ if and (.Data.Working.Changed) (.Data.Staging.Changed) }} |{{ end }}{{ if .Data.Working.Changed }} {{ .Data.Working.String }}{{ end }}{{ if gt .Data.StashCount 0 }} {{ .Data.StashCount }}{{ end }}
[ERROR] 18:14:41.592 terminal.go:FileContent:218 → open /home/nn/.config/.git/logs/refs/stash: no such file or directory
[TRACE] 18:14:41.592 terminal.go:FileContent(/home/nn/.config/.git/logs/refs/stash) - 19.442µs
[TRACE] 18:14:41.592 text.go:Render( {{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }} ) - 377.472µs
[DEBUG] 18:14:41.592 text.go:patchTemplate:125 → {{ if or (.Data.Working.Changed) (.Data.Staging.Changed) }}#BFA730{{ end }}
[TRACE] 18:14:41.592 text.go:Render({{ if or (.Working.Changed) (.Staging.Changed) }}#BFA730{{ end }}) - 36.879µs
[TRACE] 18:14:41.592 text.go:Render(powerline) - 240ns
[DEBUG] 18:14:41.592 text.go:patchTemplate:125 → {{ if or (.Data.Working.Changed) (.Data.Staging.Changed) }}#BFA730{{ end }}
[TRACE] 18:14:41.592 text.go:Render({{ if or (.Working.Changed) (.Staging.Changed) }}#BFA730{{ end }}) - 38.357µs
[DEBUG] 18:14:41.592 text.go:patchTemplate:125 → {{ if or (.Data.Working.Changed) (.Data.Staging.Changed) }}#BFA730{{ end }}
[TRACE] 18:14:41.592 text.go:Render({{ if or (.Working.Changed) (.Staging.Changed) }}#BFA730{{ end }}) - 28.089µs
[TRACE] 18:14:41.592 terminal.go:Shell() - 134ns
[TRACE] 18:14:41.592 terminal.go:Shell() - 33ns
[TRACE] 18:14:41.592 terminal.go:Flags() - 59ns
[TRACE] 18:14:41.592 terminal.go:Shell() - 32ns
[DEBUG] 18:14:41.592 home.go:12 → /home/nn
[TRACE] 18:14:41.592 path.go:Path() - 18.221µs
[TRACE] 18:14:41.592 terminal.go:Flags() - 74ns
Code of Conduct
What happened?
I am trying to make the leading diamond transparent, like actually transparent, not the same as bg color, but it doesn't work.
I am using kitty with 0 opacity.
{ "background": "#3078BF", "foreground": "#102840", "leading_diamond": "<transparent>\ue0b0</>", "style": "diamond", "template": " {{ .Icon }} ", "trailing_diamond": "<#102840>\ue0b1", "type": "os" },Theme
{ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { "alignment": "left", "segments": [ { "background": "#ACCAE6", "foreground": "#102840", "properties": { "time_format": "15:04:05" }, "style": "diamond", "template": " {{ .CurrentDate | date .Format }} ", "leading_diamond": "<#ACCAE6,transparent>\ue0b6</>", "trailing_diamond": "\ue0b0", "type": "time" }, { "background": "#3078BF", "foreground": "#102840", "leading_diamond": "<transparent>\ue0b0</>", "style": "diamond", "template": " {{ .Icon }} ", "trailing_diamond": "<#102840>\ue0b1", "type": "os" }, { "background": "#3078BF", "foreground": "#102840", "properties": { "folder_icon": "...", "folder_separator_icon": "<#102840> \ue0b1 </>", "home_icon": "\ueb06", "style": "unique", "max_depth": 1 }, "style": "diamond", "template": " {{ .Path }} ", "trailing_diamond": "\ue0b0", "type": "path" }, { "background": "#3078BF", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#BFA730{{ end }}", "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#8330BF{{ end }}", "{{ if gt .Ahead 0 }}#60BF30{{ end }}", "{{ if gt .Behind 0 }}#3078BF{{ end }}" ], "foreground": "#102840", "powerline_symbol": "\ue0b0", "properties": { "fetch_stash_count": true, "fetch_status": true, "fetch_upstream_icon": true }, "style": "powerline", "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ", "type": "git" } ], "type": "prompt" } ], "console_title_template": "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"\"}} @ {{.HostName}}", "final_space": true, "version": 3 }What OS are you seeing the problem on?
Linux
Which shell are you using?
fish
Log output