oh-my-posh/themes/thecyberden.omp.json
2022-02-03 10:44:18 +01:00

121 lines
4.3 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"final_space": false,
"console_title": false,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "session",
"style": "diamond",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#2e9599",
"leading_diamond": "\uE0B6",
"trailing_diamond": "",
"properties": {
"prefix": "\uFCBE ",
"template": "{{ .HostName }}"
}
},
{
"type": "path",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"invert_powerline": false,
"foreground": "#ffffff",
"background": "#0080ff",
"properties": {
"prefix": " \uE5FF ",
"style": "full"
}
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"invert_powerline": false,
"foreground": "#193549",
"background": "#c19c00",
"properties": {
"fetch_status": true,
"fetch_stash_count": true,
"fetch_upstream_icon": true,
"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 }}"
}
},
{
"type": "exit",
"style": "diamond",
"foreground": "#ffffff",
"background": "#2e9599",
"background_templates": [
"{{ if gt .Code 0 }}#f1184c{{ end }}"
],
"leading_diamond": "",
"trailing_diamond": "\uE0B4",
"properties": {
"always_enabled": true,
"display_exit_code": false,
"success_icon": "\uF00C",
"error_icon": "\uF00D",
"prefix": " "
}
}
]
},
{
"type": "prompt",
"alignment": "right",
"horizontal_offset": 0,
"vertical_offset": 0,
"segments": [
{
"type": "time",
"style": "diamond",
"foreground": "#ffffff",
"background": "#2e9599",
"leading_diamond": "\uE0B6",
"trailing_diamond": "\uE0B4",
"properties": {
"time_format": "15:04:05"
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "root",
"style": "plain",
"foreground": "#ff0000",
"properties": {
"prefix": "",
"template": "\uE00A"
}
},
{
"type": "shell",
"style": "plain",
"foreground": "#ffffff"
},
{
"type": "text",
"style": "plain",
"foreground": "#ffffff",
"properties": {
"prefix": "",
"text": "\uF054"
}
}
]
}
]
}