theme: add dracula

This commit is contained in:
Gary H 2022-04-05 20:34:13 +01:00 committed by Jan De Dobbeleer
parent a31d718fcb
commit 6b0a08fb21

69
themes/dracula.omp.json Normal file
View 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
}