mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 04:19:41 -08:00
theme: add thecyberden
This commit is contained in:
parent
b245398661
commit
4e52382960
121
themes/thecyberden.omp.json
Normal file
121
themes/thecyberden.omp.json
Normal file
|
@ -0,0 +1,121 @@
|
|||
{
|
||||
"$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": "{{ .ComputerName }}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "path",
|
||||
"style": "powerline",
|
||||
"powerline_symbol": "\uE0B0",
|
||||
"invert_powerline": false,
|
||||
"foreground": "#ffffff",
|
||||
"background": "#0080ff",
|
||||
"properties": {
|
||||
"prefix": " \uE5FF ",
|
||||
"style": "full",
|
||||
"enable_hyperlink": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": "",
|
||||
"root_icon": "\uE00A"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"style": "plain",
|
||||
"foreground": "#ffffff"
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"style": "plain",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"prefix": "",
|
||||
"text": "\uF054"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue