How do I add separation between blocks with black background? #6462
Closed
artisticcheese
started this conversation in
General
Replies: 2 comments
|
This is what you need: {
"background": "#ebcc34",
"foreground": "#000000",
"leading_diamond": "\ue0b6",
"style": "diamond",
"template": " \uf308 Kubernetes {{.Context}} {{if .Namespace}}- {{.Namespace}} namespace{{end}}",
"trailing_diamond": "\ue0b0",
"type": "kubectl"
},
{
"background": "#9ec3f0",
"foreground": "#000000",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " \uebd8 {{ .User.Name }}/{{.TenantDisplayName}}/{{ .Name}}",
"type": "az",
"trailing_diamond": "\ue0b0"
},
{
"background": "#32a106",
"foreground": "#000000",
"leading_diamond": "<transparent,background>\ue0b0</>",
"trailing_diamond": "\ue0b4",
"style": "diamond",
"template": " 💩 {{ .User.Name }}/{{.TenantDisplayName}}/{{ .Name}}",
"type": "az",
"properties": {
"source": "pwsh"
}
} |
0 replies
|
Thanks, this worked |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to display diamond separation between segments and failed do so far. I want exactly the same separation between first block and second one as there is currently between second and third
{ "background": "#ebcc34", "foreground": "#000000", "leading_diamond": "\ue0b6", "style": "diamond", "template": " \uf308 Kubernetes {{.Context}} {{if .Namespace}}- {{.Namespace}} namespace{{end}}", "trailing_diamond": "\ue0b0", "type": "kubectl" }, { "background": "#9ec3f0", "foreground": "#000000", "powerline_symbol": "\ue0b0", "style": "diamond", "template": " \uebd8 {{ .User.Name }}/{{.TenantDisplayName}}/{{ .Name}}", "type": "az", "trailing_diamond": "\ue0b0" }, { "background": "#32a106", "foreground": "#000000", "powerline_symbol": "\ue0b0", "style": "powerline", "template": " 💩 {{ .User.Name }}/{{.TenantDisplayName}}/{{ .Name}}", "type": "az", "properties": { "source": "pwsh" } }All reactions