oh-my-posh/themes/free-ukraine.omp.json

229 lines
6.5 KiB
JSON
Raw Normal View History

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#ffffff",
"style": "plain",
"type": "text"
}
],
"type": "prompt"
},
{
"alignment": "left",
2022-03-14 11:14:10 -07:00
"segments": [
{
"foreground": "#0057b7",
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\ue0c5",
"type": "text"
},
{
"background": "#0057b7",
"foreground": "#FBD951",
"powerline_symbol": "\ue0c4",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " \ue795 ",
"type": "text"
},
{
"background": "#0057b7",
"foreground": "#FBD951",
"properties": {
"home_icon": "\ue617",
2022-03-27 01:12:47 -07:00
"style": "mixed"
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": "{{ .Path }} ",
"trailing_diamond": "\ue0b0",
"type": "path"
2022-03-14 11:14:10 -07:00
},
{
"background": "#0057b7",
"foreground": "#ffd700",
"powerline_symbol": "\ue0b0",
2022-03-14 11:14:10 -07:00
"properties": {
"fetch_stash_count": true,
"fetch_status": true,
2022-03-27 01:12:47 -07:00
"fetch_upstream_icon": true
},
"style": "powerline",
"template": " \uf1d3 {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ 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}}\ueb4b {{ .StashCount }}{{ end }}{{ if gt .WorktreeCount 0}} \uf1bb {{ .WorktreeCount }}{{ end }} ",
"type": "git"
},
{
"background": "#3379c5",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#3379c5{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#c57f33{{ end }}",
"{{ if gt .Ahead 0 }}#79c533{{ end }}",
"{{ if gt .Behind 0 }}#c53379{{ end }}"
],
"foreground": "#0057b7",
"powerline_symbol": "\ue0b0",
2022-03-14 11:14:10 -07:00
"properties": {
"fetch_stash_count": false,
"fetch_status": false,
2022-03-27 01:12:47 -07:00
"fetch_upstream_icon": false
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": "\uf105",
"type": "git"
},
{
"leading_diamond": "<transparent,#49404f>\ue0b0</>",
"style": "plain",
"trailing_diamond": "\ue0b0",
"type": "text"
2022-03-14 11:14:10 -07:00
},
{
2022-03-27 01:12:47 -07:00
"background": "#ffd700",
"foreground": "#0057b7",
"foreground_templates": [
"{{ if gt .Code 0 }}#a30000{{ end }}"
],
"leading_diamond": "<transparent,#ffd700>\ue0b0</>",
"properties": {
2022-03-27 01:12:47 -07:00
"always_enabled": true
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " {{ if gt .Code 0 }}\uf421 \uf119 {{ else }}\uf469 \u2665 {{ end }}",
"trailing_diamond": "\ue0b0",
"type": "status"
2022-03-14 11:14:10 -07:00
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
2022-03-14 11:14:10 -07:00
"background": "#0057b7",
"foreground": "#FBD951",
"leading_diamond": "\ue0b6",
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " \uf0ac <#111111>\ue0b2</>",
"type": "text"
},
{
"background": "#0057b7",
"foreground": "#FBD951",
"invert_powerline": true,
"leading_diamond": "\ue0b2",
"properties": {
"charged_icon": "\ueb2d ",
"charging_icon": "\uf492 ",
"discharging_icon": "\uf243 "
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}% <#111111>\ue0b2</>",
"type": "battery"
},
{
"background": "#0057b7",
"foreground": "#FBD951",
"invert_powerline": true,
"leading_diamond": "\ue0b2",
"properties": {
2022-03-27 01:12:47 -07:00
"always_enabled": true
},
"style": "diamond",
"template": " \ueba2 {{ .FormattedMs }} <#111111>\ue0b2</>",
"type": "executiontime"
},
{
"background": "#0057b7",
"foreground": "#FBD951",
"invert_powerline": true,
"leading_diamond": "\ue0b2",
"properties": {
"time_format": "_2,15:04"
},
"style": "diamond",
"template": " \uf073 {{ .CurrentDate | date .Format }}",
"trailing_diamond": "\ue0b4",
"type": "time"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#0057b7",
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\ue0c5",
"type": "text"
},
{
"background": "#0057b7",
"foreground": "#ffd700",
"powerline_symbol": "\ue0c4",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"type": "os"
},
{
"background": "#0057b7",
"foreground": "#FBD951",
"powerline_symbol": "\ue0b0",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": "\uf0e7 ",
"type": "root"
2022-03-14 11:14:10 -07:00
},
{
"background": "#FBD951",
"foreground": "#0057b7",
"powerline_symbol": "\ue0b0",
"properties": {
2022-03-27 01:12:47 -07:00
"display_host": false
},
"style": "powerline",
"template": " {{ if .SSHSession }}\ueba9 {{ end }}{{ .UserName }} ",
"type": "session"
2022-03-14 11:14:10 -07:00
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"foreground": "#0057b7",
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\uf004",
"type": "text"
},
{
"foreground": "#FBD951",
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\uf004",
"type": "text"
},
{
"foreground": "#0057b7",
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\uf004",
"type": "text"
},
{
"foreground": "#FBD951",
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\uf004 Ukraine",
"type": "text"
}
],
"type": "rprompt"
}
],
"console_title_template": "{{if .Root}}Admin: {{end}} {{.Folder}}",
"final_space": true,
2022-03-27 01:12:47 -07:00
"version": 2
}