mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
theme: add dracula
This commit is contained in:
parent
a31d718fcb
commit
6b0a08fb21
69
themes/dracula.omp.json
Normal file
69
themes/dracula.omp.json
Normal file
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"blocks": [
|
||||
{
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"background": "#6272a4",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\ue0b6",
|
||||
"properties": {
|
||||
"template": "{{ .UserName }} "
|
||||
},
|
||||
"style": "diamond",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"background": "#bd93f9",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"style": "folder",
|
||||
"template": " {{ .Path }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"background": "#ffb86c",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"branch_icon": "",
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": false,
|
||||
"fetch_upstream_icon": true,
|
||||
"template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) "
|
||||
},
|
||||
"style": "powerline",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"background": "#8be9fd",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "\ue0b0",
|
||||
"properties": {
|
||||
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
|
||||
},
|
||||
"style": "powerline",
|
||||
"type": "node"
|
||||
},
|
||||
{
|
||||
"background": "#ff79c6",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"template": " \u2665 {{ .CurrentDate | date .Format }} ",
|
||||
"time_format": "15:04"
|
||||
},
|
||||
"style": "diamond",
|
||||
"trailing_diamond": "\ue0b0",
|
||||
"type": "time"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
}
|
Loading…
Reference in a new issue