Add '.omp.json'
This commit is contained in:
60
.omp.json
Normal file
60
.omp.json
Normal file
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"blocks": [
|
||||
{
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"background": "p:tertiary",
|
||||
"background_templates": [
|
||||
"{{ if .Root }}#FF0000{{ end }}"
|
||||
],
|
||||
"foreground": "p:tertiary_font",
|
||||
"style": "plain",
|
||||
"template": " {{ .UserName }} {{ if .Root }}<#FF0000,p:secondary>{{ else }}<p:tertiary,p:secondary>{{ end }}</>",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"foreground": "p:secondary_font",
|
||||
"background": "p:secondary",
|
||||
"properties": {
|
||||
"style": "full"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " {{ .Path }} <p:secondary,transparent></>",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"foreground": "p:tertiary_font",
|
||||
"background": "p:tertiary",
|
||||
"style": "plain",
|
||||
"template": "<transparent,p:tertiary></> {{ .HEAD }} <p:tertiary,transparent></>",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"foreground": "p:accent",
|
||||
"background": "transparent",
|
||||
"foreground_templates": [
|
||||
"{{ if gt .Code 0 }}red{{ end }}"
|
||||
],
|
||||
"properties": {
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " ",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"version": 2,
|
||||
"palette": {
|
||||
"accent": "#0ca8fb",
|
||||
"secondary": "#011f2a",
|
||||
"tertiary": "#0f63bd",
|
||||
"accent_font": "#000000",
|
||||
"secondary_font": "#FFFFFF",
|
||||
"tertiary_font": "#FFFFFF"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user