oh-my-posh/themes/stelbent.minimal.omp.json

123 lines
3.5 KiB
JSON
Raw Normal View History

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "right",
"segments": [
{
"foreground": "#007acc",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "{{ .Name }}",
2022-02-03 01:22:57 -08:00
"type": "shell"
},
{
"foreground": "#ff8080",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " <#757575,>as</> root",
2022-02-03 01:22:57 -08:00
"type": "root"
},
{
"foreground": "#689f38",
"properties": {
"time_format": "15:04:05"
2022-02-03 01:22:57 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " <#757575,>|</> {{ .CurrentDate | date .Format }}",
2022-02-03 01:22:57 -08:00
"type": "time"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#757575",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\u250c {{ .UserName }}@{{ .HostName }} ",
2022-02-03 01:22:57 -08:00
"type": "session"
},
{
"background": "#91ddff",
2022-02-03 01:22:57 -08:00
"foreground": "#100e23",
"powerline_symbol": "\ue0b0",
"properties": {
2022-03-27 01:12:47 -07:00
"style": "folder"
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ .Path }} ",
2022-02-03 01:22:57 -08:00
"type": "path"
},
{
"background": "#95ffa4",
"background_templates": [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ff9248{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f26d50{{ end }}",
"{{ if gt .Ahead 0 }}#89d1dc{{ end }}",
"{{ if gt .Behind 0 }}#c5b6ad{{ end }}"
],
2022-02-03 01:22:57 -08:00
"foreground": "#100e23",
"powerline_symbol": "\ue0b0",
"properties": {
"branch_ahead_icon": "\u2191",
"branch_behind_icon": "\u2193",
"branch_gone": "\u2262",
"branch_icon": "\ue0a0 ",
"branch_identical_icon": "\u2261",
"cherry_pick_icon": "\u2713 ",
"commit_icon": "\u25b7 ",
2022-02-03 01:22:57 -08:00
"fetch_stash_count": true,
"fetch_status": true,
"merge_icon": "\u25f4 ",
"no_commits_icon": "[no commits]",
"rebase_icon": "\u2c62 ",
2022-03-27 01:12:47 -07:00
"tag_icon": "\u25b6 "
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
"template": " {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} \u2502{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }} ",
2022-02-03 01:22:57 -08:00
"type": "git"
},
{
2022-02-03 01:22:57 -08:00
"background": "#ffee58",
"foreground": "#100e23",
2022-02-03 01:22:57 -08:00
"powerline_symbol": "\ue0b0",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ .WorkspaceName }} ",
2022-02-03 01:22:57 -08:00
"type": "terraform"
},
{
"background": "#ff8080",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " error ",
"type": "status"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#757575",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\u2514 ",
2022-02-03 01:22:57 -08:00
"type": "text"
},
{
"foreground": "#ffffff",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "$",
2022-02-03 01:22:57 -08:00
"type": "text"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
}
],
2022-02-03 01:22:57 -08:00
"final_space": true,
2022-03-27 01:12:47 -07:00
"version": 2
}