Update '.omp.json'
This commit is contained in:
63
.omp.json
63
.omp.json
@@ -11,25 +11,58 @@
|
|||||||
],
|
],
|
||||||
"foreground": "p:tertiary_font",
|
"foreground": "p:tertiary_font",
|
||||||
"style": "plain",
|
"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"
|
"type": "session"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"foreground": "p:secondary_font",
|
"foreground": "p:secondary_font",
|
||||||
"background": "p:secondary",
|
"background": "p:secondary",
|
||||||
|
"style": "plain",
|
||||||
|
"powerline_symbol": "",
|
||||||
"properties": {
|
"properties": {
|
||||||
"style": "full"
|
"style": "full"
|
||||||
},
|
},
|
||||||
"style": "plain",
|
|
||||||
"template": " {{ .Path }} <p:secondary,transparent></>",
|
"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",
|
"foreground": "p:tertiary_font",
|
||||||
"background": "p:tertiary",
|
"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",
|
"style": "plain",
|
||||||
"template": "<transparent,p:tertiary></> {{ .HEAD }} <p:tertiary,transparent></>",
|
"foreground": "p:secondary_font",
|
||||||
"type": "git"
|
"background": "transparent",
|
||||||
|
"template": " {{ .FormattedMs }} ",
|
||||||
|
"properties": {
|
||||||
|
"threshold": 1000,
|
||||||
|
"style": "roundrock"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"foreground": "p:accent",
|
"foreground": "p:accent",
|
||||||
@@ -48,6 +81,26 @@
|
|||||||
"type": "prompt"
|
"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,
|
"version": 2,
|
||||||
"palette": {
|
"palette": {
|
||||||
"accent": "#0ca8fb",
|
"accent": "#0ca8fb",
|
||||||
|
|||||||
Reference in New Issue
Block a user