Update '.omp.json'

This commit is contained in:
2023-04-30 19:12:37 +02:00
parent 8b0dbb5ee1
commit 3162fb00af

View File

@@ -11,25 +11,58 @@
],
"foreground": "p:tertiary_font",
"style": "plain",
"template": " {{ .UserName }} {{ if .Root }}<#FF0000,p:secondary>{{ else }}<p:tertiary,p:secondary>{{ end }}</>",
"template": " {{ .UserName }}{{ if .SSHSession }}@{{.HostName }}{{ end }} {{ if .Root }}<#FF0000,p:secondary>{{ else }}<p:tertiary,p:secondary>{{ end }}</>",
"type": "session"
},
{
"foreground": "p:secondary_font",
"background": "p:secondary",
"style": "plain",
"powerline_symbol": "",
"properties": {
"style": "full"
},
"style": "plain",
"template": " {{ .Path }} <p:secondary,transparent></>",
"type": "path"
"type": "path",
"min_width": 80
},
{
"foreground": "p:secondary_font",
"background": "p:secondary",
"style": "plain",
"powerline_symbol": "",
"properties": {
"style": "agnoster",
"folder_icon": "",
"mixed_threshold": 2
},
"template": " {{ .Path }} <p:secondary,transparent></>",
"type": "path",
"max_width": 79
},
{
"foreground": "p:tertiary_font",
"background": "p:tertiary",
"style": "powerline",
"powerline_symbol": "",
"template": "{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }} ",
"properties": {
"fetch_status": true,
"fetch_upstream_icon": true
},
"type": "git",
"min_width": 80
},
{
"type": "executiontime",
"style": "plain",
"template": "<transparent,p:tertiary></> {{ .HEAD }} <p:tertiary,transparent></>",
"type": "git"
"foreground": "p:secondary_font",
"background": "transparent",
"template": " {{ .FormattedMs }} ",
"properties": {
"threshold": 1000,
"style": "roundrock"
}
},
{
"foreground": "p:accent",
@@ -41,13 +74,33 @@
"always_enabled": true
},
"style": "plain",
"template": " ",
"template": "",
"type": "exit"
}
],
"type": "prompt"
}
],
"tooltips": [
{
"type": "git",
"tips": [
"git",
"g"
],
"style": "powerline",
"foreground": "p:tertiary_front",
"background": "p:tertiary",
"powerline_symbol": "",
"template": " {{ .HEAD }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }} ",
"properties": {
"fetch_status": true,
"fetch_upstream_icon": true
},
"max_width": 79
}
],
"final_space": true,
"version": 2,
"palette": {
"accent": "#0ca8fb",