Last active
May 1, 2024 04:34
-
-
Save LittleNewton/e60df543481d495af65ede37734c69e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// | |
// * FileName: paradox.omp.json | |
// * Author: 刘 鹏 | |
// * Email: [email protected] | |
// * Update Date: 2022, Mar. 31 | |
// * Copyright: GPL 3.0 | |
// | |
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#ffe9aa", | |
"foreground": "#100e23", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": " \uf0e7 ", | |
"type": "root" | |
}, | |
{ | |
"background": "#ffffff", | |
"foreground": "#100e23", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": " {{ .UserName }}@{{ .HostName }} ", | |
"type": "session" | |
}, | |
{ | |
"background": "#91ddff", | |
"foreground": "#100e23", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"folder_icon": "\uf115", | |
"folder_separator_icon": "/", | |
"style": "full" | |
}, | |
"style": "powerline", | |
"template": " {{ .Path }} ", | |
"type": "path" | |
}, | |
{ | |
"background": "#95ffa4", | |
"foreground": "#193549", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": " {{ .HEAD }} ", | |
"type": "git" | |
}, | |
{ | |
"background": "#906cff", | |
"foreground": "#100e23", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ", | |
"type": "python" | |
}, | |
{ | |
"background": "#ff8080", | |
"foreground": "#ffffff", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": " \ue20f ", | |
"type": "exit" | |
} | |
], | |
"type": "prompt" | |
}, | |
{ | |
"alignment": "left", | |
"newline": true, | |
"segments": [ | |
{ | |
"foreground": "#007ACC", | |
"style": "plain", | |
"template": "\u276f ", | |
"type": "text" | |
} | |
], | |
"type": "prompt" | |
} | |
], | |
"version": 2 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// * FileName: paradox.omp.json | |
// * Author: 刘 鹏 | |
// * Email: [email protected] | |
// * Date: 2021, Aug. 24 | |
// * Copyright: GPL 3.0 | |
// | |
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "root", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#100e23", | |
"background": "#ffe9aa" | |
}, | |
{ | |
"type": "session", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#100e23", | |
"background": "#ffffff" | |
}, | |
{ | |
"type": "path", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#100e23", | |
"background": "#91ddff", | |
"properties": { | |
"folder_icon": "\uF115", | |
"folder_separator_icon": "\\", | |
"style": "full" | |
} | |
}, | |
{ | |
"type": "git", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#193549", | |
"background": "#95ffa4" | |
}, | |
{ | |
"type": "python", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#100e23", | |
"background": "#906cff", | |
"properties": { | |
"prefix": " \uE235 ", | |
"display_virtual_env": true, | |
"display_default": true, | |
"display_mode": "always" | |
} | |
}, | |
{ | |
"type": "exit", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", | |
"foreground": "#ffffff", | |
"background": "#ff8080", | |
"properties": { | |
"prefix": " \uE20F" | |
} | |
} | |
] | |
}, | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"newline": true, | |
"segments": [ | |
{ | |
"type": "text", | |
"style": "plain", | |
"foreground": "#007ACC", | |
"properties": { | |
"prefix": "", | |
"text": "\u276F" | |
} | |
} | |
] | |
} | |
], | |
"final_space": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment