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

103 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",
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " {{ .UserName }} ",
2022-02-03 01:22:57 -08:00
"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-03-27 01:12:47 -07:00
"style": "folder"
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
"template": " \uea83 {{ .Path }} ",
2022-02-03 01:22:57 -08:00
"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,
2022-03-27 01:12:47 -07:00
"fetch_upstream_icon": true
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ 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 }} \ueb4b {{ .StashCount }}{{ end }} ",
2022-02-03 01:22:57 -08:00
"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": {
2022-03-27 01:12:47 -07:00
"always_enabled": true
2022-02-03 01:22:57 -08:00
},
"style": "plain",
"template": "<transparent>\ue0b0</> \ueba2{{ .FormattedMs }}\u2800",
2022-02-03 01:22:57 -08:00
"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-03-27 01:12:47 -07:00
"refresh_token": "111111111111111111111111111111"
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{.Name}} {{.Ago}} {{.Icon}} ",
2022-02-03 01:22:57 -08:00
"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": {
2022-03-27 01:12:47 -07:00
"always_enabled": true
2022-02-03 01:22:57 -08:00
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": "<parentBackground>\ue0b0</> \ue23a ",
2022-02-03 01:22:57 -08:00
"trailing_diamond": "\ue0b4",
"type": "status"
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,
2022-03-27 01:12:47 -07:00
"version": 2
2021-12-29 23:57:27 -08:00
}