oh-my-posh/themes/larserikfinholt.omp.json

105 lines
3.5 KiB
JSON
Raw Normal View History

2021-12-29 23:57:27 -08:00
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#c386f1",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"leading_diamond": "\ue0b6",
2021-12-29 23:57:27 -08:00
"properties": {
2022-02-03 01:22:57 -08:00
"template": " {{ .UserName }} "
},
"style": "diamond",
"trailing_diamond": "\ue0b0",
"type": "session"
2021-12-29 23:57:27 -08:00
},
{
"background": "#ff479c",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
2021-12-29 23:57:27 -08:00
"properties": {
2022-02-03 01:22:57 -08:00
"folder_separator_icon": " \ue0b1 ",
2021-12-29 23:57:27 -08:00
"home_icon": "~",
2022-02-03 01:22:57 -08:00
"style": "folder",
"template": " \uf74a {{ .Path }} "
},
"style": "powerline",
"type": "path"
2021-12-29 23:57:27 -08:00
},
{
"background": "#fffb38",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}",
"{{ if gt .Ahead 0 }}#B388FF{{ end }}",
"{{ if gt .Behind 0 }}#B388FF{{ end }}"
],
2022-02-03 01:22:57 -08:00
"foreground": "#193549",
"powerline_symbol": "\ue0b0",
2021-12-29 23:57:27 -08:00
"properties": {
2022-02-03 01:22:57 -08:00
"branch_max_length": 25,
2021-12-29 23:57:27 -08:00
"fetch_stash_count": true,
2022-02-03 01:22:57 -08:00
"fetch_status": true,
2021-12-29 23:57:27 -08:00
"fetch_upstream_icon": true,
2022-02-03 01:22:57 -08:00
"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 }} "
},
"style": "powerline",
"type": "git"
2021-12-29 23:57:27 -08:00
},
{
"background": "#83769c",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
2021-12-29 23:57:27 -08:00
"properties": {
"always_enabled": true,
2022-02-03 01:22:57 -08:00
"template": "<transparent>\ue0b0</> \ufbab{{ .FormattedMs }}\u2800"
},
"style": "plain",
"type": "executiontime"
2021-12-29 23:57:27 -08:00
},
{
"background": "#000000",
"background_templates": [
"{{ if gt .Hours 100 }}#dc3545{{ end }}",
"{{ if and (lt .Hours 100) (gt .Hours 50) }}#ffc107{{ end }}",
"{{ if lt .Hours 50 }}#28a745{{ end }}"
],
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
2021-12-29 23:57:27 -08:00
"foreground_templates": [
"{{ if gt .Hours 100 }}#FFFFFF{{ end }}",
"{{ if and (lt .Hours 100) (gt .Hours 50) }}#343a40{{ end }}",
"{{ if lt .Hours 50 }}#FFFFFF{{ end }}"
],
"properties": {
"access_token": "0ccbd2ac1e37a5b84101468df3d367177fe02ab3",
"http_timeout": 1500,
2022-02-03 01:22:57 -08:00
"refresh_token": "111111111111111111111111111111",
"template": " {{.Name}} {{.Ago}} {{.Icon}} "
},
"style": "powerline",
"type": "strava"
2021-12-29 23:57:27 -08:00
},
{
"background": "#00897b",
2022-02-03 01:22:57 -08:00
"background_templates": [
"{{ if gt .Code 0 }}#e91e63{{ end }}"
],
"foreground": "#ffffff",
2021-12-29 23:57:27 -08:00
"properties": {
"always_enabled": true,
2022-02-03 01:22:57 -08:00
"template": "<parentBackground>\ue0b0</> \ue23a "
},
"style": "diamond",
"trailing_diamond": "\ue0b4",
"type": "exit"
2021-12-29 23:57:27 -08:00
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
2021-12-29 23:57:27 -08:00
}
],
2022-02-03 01:22:57 -08:00
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
"final_space": true,
"version": 1
2021-12-29 23:57:27 -08:00
}