M365Princess_Re.omp.json
· 3.7 KiB · JSON
Исходник
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"palette": {
"blush": "#DA627D",
"plum": "#9A348E",
"salmon": "#FCA17D",
"sky": "#86BBD8",
"tan": "#CC3802",
"teal": "#047E84",
"teal_blue": "#33658A",
"white": "#FFFFFF"
},
"blocks": [
{
"type": "rprompt",
"alignment": "left",
"segments": [
{
"properties": {
"cache_duration": "none"
},
"leading_diamond": "\ue0b6",
"template": "{{ if .Env.PNPPSHOST }} \uf8c5 {{ .Env.PNPPSHOST }} {{ end }}",
"foreground": "p:white",
"background": "p:tan",
"type": "text",
"style": "diamond"
},
{
"properties": {
"cache_duration": "none"
},
"template": "{{ if .Env.PNPPSSITE }} \uf2dd {{ .Env.PNPPSSITE }}{{ end }}",
"foreground": "p:white",
"powerline_symbol": "\ue0b0",
"background": "p:teal",
"type": "text",
"style": "powerline"
},
{
"properties": {
"cache_duration": "none"
},
"trailing_diamond": "\ue0b4",
"template": "{{ if .Env.PNPPSSITE }} {{ end }}",
"foreground": "p:white",
"background": "p:teal",
"type": "text",
"style": "diamond"
}
]
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
"cache_duration": "none"
},
"leading_diamond": "\ue0b6",
"template": "{{ .UserName }} ",
"foreground": "p:white",
"background": "p:plum",
"type": "session",
"style": "diamond"
},
{
"properties": {
"cache_duration": "none",
"style": "folder"
},
"template": " {{ .Path }} ",
"foreground": "p:white",
"powerline_symbol": "\ue0b0",
"background": "p:blush",
"type": "path",
"style": "powerline"
},
{
"properties": {
"branch_icon": "",
"cache_duration": "none",
"fetch_stash_count": true,
"fetch_status": false,
"fetch_upstream_icon": true
},
"template": " ➜ ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }}) ",
"foreground": "p:white",
"powerline_symbol": "\ue0b0",
"background": "p:salmon",
"type": "git",
"style": "powerline"
},
{
"properties": {
"cache_duration": "none"
},
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"foreground": "p:white",
"powerline_symbol": "\ue0b0",
"background": "p:sky",
"type": "node",
"style": "powerline"
},
{
"properties": {
"cache_duration": "none",
"time_format": "15:04"
},
"trailing_diamond": "\ue0b0",
"template": " ♥ {{ .CurrentDate | date .Format }} ",
"foreground": "p:white",
"background": "p:teal_blue",
"type": "time",
"style": "diamond"
}
]
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
"cache_duration": "none"
},
"template": "➜ ",
"foreground": "p:blush",
"type": "text",
"style": "plain"
}
],
"newline": true
}
],
"version": 3,
"final_space": true
}
| 1 | { |
| 2 | "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", |
| 3 | "palette": { |
| 4 | "blush": "#DA627D", |
| 5 | "plum": "#9A348E", |
| 6 | "salmon": "#FCA17D", |
| 7 | "sky": "#86BBD8", |
| 8 | "tan": "#CC3802", |
| 9 | "teal": "#047E84", |
| 10 | "teal_blue": "#33658A", |
| 11 | "white": "#FFFFFF" |
| 12 | }, |
| 13 | "blocks": [ |
| 14 | { |
| 15 | "type": "rprompt", |
| 16 | "alignment": "left", |
| 17 | "segments": [ |
| 18 | { |
| 19 | "properties": { |
| 20 | "cache_duration": "none" |
| 21 | }, |
| 22 | "leading_diamond": "\ue0b6", |
| 23 | "template": "{{ if .Env.PNPPSHOST }} \uf8c5 {{ .Env.PNPPSHOST }} {{ end }}", |
| 24 | "foreground": "p:white", |
| 25 | "background": "p:tan", |
| 26 | "type": "text", |
| 27 | "style": "diamond" |
| 28 | }, |
| 29 | { |
| 30 | "properties": { |
| 31 | "cache_duration": "none" |
| 32 | }, |
| 33 | "template": "{{ if .Env.PNPPSSITE }} \uf2dd {{ .Env.PNPPSSITE }}{{ end }}", |
| 34 | "foreground": "p:white", |
| 35 | "powerline_symbol": "\ue0b0", |
| 36 | "background": "p:teal", |
| 37 | "type": "text", |
| 38 | "style": "powerline" |
| 39 | }, |
| 40 | { |
| 41 | "properties": { |
| 42 | "cache_duration": "none" |
| 43 | }, |
| 44 | "trailing_diamond": "\ue0b4", |
| 45 | "template": "{{ if .Env.PNPPSSITE }} {{ end }}", |
| 46 | "foreground": "p:white", |
| 47 | "background": "p:teal", |
| 48 | "type": "text", |
| 49 | "style": "diamond" |
| 50 | } |
| 51 | ] |
| 52 | }, |
| 53 | { |
| 54 | "type": "prompt", |
| 55 | "alignment": "left", |
| 56 | "segments": [ |
| 57 | { |
| 58 | "properties": { |
| 59 | "cache_duration": "none" |
| 60 | }, |
| 61 | "leading_diamond": "\ue0b6", |
| 62 | "template": "{{ .UserName }} ", |
| 63 | "foreground": "p:white", |
| 64 | "background": "p:plum", |
| 65 | "type": "session", |
| 66 | "style": "diamond" |
| 67 | }, |
| 68 | { |
| 69 | "properties": { |
| 70 | "cache_duration": "none", |
| 71 | "style": "folder" |
| 72 | }, |
| 73 | "template": " {{ .Path }} ", |
| 74 | "foreground": "p:white", |
| 75 | "powerline_symbol": "\ue0b0", |
| 76 | "background": "p:blush", |
| 77 | "type": "path", |
| 78 | "style": "powerline" |
| 79 | }, |
| 80 | { |
| 81 | "properties": { |
| 82 | "branch_icon": "", |
| 83 | "cache_duration": "none", |
| 84 | "fetch_stash_count": true, |
| 85 | "fetch_status": false, |
| 86 | "fetch_upstream_icon": true |
| 87 | }, |
| 88 | "template": " ➜ ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }}) ", |
| 89 | "foreground": "p:white", |
| 90 | "powerline_symbol": "\ue0b0", |
| 91 | "background": "p:salmon", |
| 92 | "type": "git", |
| 93 | "style": "powerline" |
| 94 | }, |
| 95 | { |
| 96 | "properties": { |
| 97 | "cache_duration": "none" |
| 98 | }, |
| 99 | "template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ", |
| 100 | "foreground": "p:white", |
| 101 | "powerline_symbol": "\ue0b0", |
| 102 | "background": "p:sky", |
| 103 | "type": "node", |
| 104 | "style": "powerline" |
| 105 | }, |
| 106 | { |
| 107 | "properties": { |
| 108 | "cache_duration": "none", |
| 109 | "time_format": "15:04" |
| 110 | }, |
| 111 | "trailing_diamond": "\ue0b0", |
| 112 | "template": " ♥ {{ .CurrentDate | date .Format }} ", |
| 113 | "foreground": "p:white", |
| 114 | "background": "p:teal_blue", |
| 115 | "type": "time", |
| 116 | "style": "diamond" |
| 117 | } |
| 118 | ] |
| 119 | }, |
| 120 | { |
| 121 | "type": "prompt", |
| 122 | "alignment": "left", |
| 123 | "segments": [ |
| 124 | { |
| 125 | "properties": { |
| 126 | "cache_duration": "none" |
| 127 | }, |
| 128 | "template": "➜ ", |
| 129 | "foreground": "p:blush", |
| 130 | "type": "text", |
| 131 | "style": "plain" |
| 132 | } |
| 133 | ], |
| 134 | "newline": true |
| 135 | } |
| 136 | ], |
| 137 | "version": 3, |
| 138 | "final_space": true |
| 139 | } |
| 140 |