Skip to content

Instantly share code, notes, and snippets.

@gukj
Created June 11, 2024 14:38
Show Gist options
  • Save gukj/92be0db11d147054495a7b5bfe069020 to your computer and use it in GitHub Desktop.
Save gukj/92be0db11d147054495a7b5bfe069020 to your computer and use it in GitHub Desktop.
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"palette": {
"white": "#FFFFFF",
"black": "#000000",
"gray": "#C0C0C0",
"tan": "#CC3802",
"teal": "#047E84",
"plum": "#9A348E",
"blush": "#DA627D",
"salmon": "#FCA17D",
"sky": "#86BBD8",
"teal_blue": "#33658A"
},
"transient_prompt": {
"background": "transparent",
"foreground": "p:gray",
"filler": "-",
"template": "⯈ "
},
"blocks": [
{
"type": "rprompt",
"alignment": "left",
"segments": [
{
"type": "text",
"style": "diamond",
"leading_diamond": "\ue0b6",
"foreground": "p:white",
"background": "p:tan",
"template": "{{ if .Env.PNPPSHOST }} \uf8c5 {{ .Env.PNPPSHOST }} {{ end }}"
},
{
"type": "text",
"style": "powerline",
"foreground": "p:white",
"background": "p:teal",
"powerline_symbol": "\ue0b0",
"template": "{{ if .Env.PNPPSSITE }} \uf2dd {{ .Env.PNPPSSITE }}{{ end }}"
},
{
"type": "text",
"style": "diamond",
"trailing_diamond": "\ue0b4",
"foreground": "p:white",
"background": "p:teal",
"template": "{{ if .Env.PNPPSSITE }}\u00A0{{ end }}"
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"background": "p:plum",
"foreground": "p:white",
"leading_diamond": "\ue0b6",
"style": "diamond",
// "template": "{{ .UserName }} ",
"template": "gk ",
"type": "session"
},
{
"background": "p:blush",
"foreground": "p:white",
"powerline_symbol": "\ue0b0",
"properties": {
"style": "folder"
},
"style": "powerline",
"template": " {{ .Path }} ",
"type": "path"
},
{
"background": "p:salmon",
"foreground": "p:white",
"powerline_symbol": "\ue0b0",
"properties": {
"branch_icon": "",
"fetch_stash_count": true,
"fetch_status": false,
"fetch_upstream_icon": true
},
"style": "powerline",
"template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }}) ",
"type": "git"
},
{
"background": "p:sky",
"foreground": "p:white",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"type": "node"
},
{
"background": "p:teal_blue",
"foreground": "p:white",
"properties": {
"time_format": "15:04"
},
"style": "diamond",
"template": " \u2665 {{ .CurrentDate | date .Format }} ",
"trailing_diamond": "\ue0b0",
"type": "time"
}
]
}
],
"final_space": true,
"version": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment