Skip to content

Instantly share code, notes, and snippets.

@jherr
Created September 16, 2024 17:35
Show Gist options
  • Save jherr/2266b85556b8f8dc65c4e0e512f62ed7 to your computer and use it in GitHub Desktop.
Save jherr/2266b85556b8f8dc65c4e0e512f62ed7 to your computer and use it in GitHub Desktop.
Oh-my-posh theme
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"palettes": {
"template": "bcc",
"list": {
"bcc": {
"base": "#0F9BF2",
"color-2": "#10b1d5",
"color-3": "#38939d",
"color-4": "#503FBF",
"color-5": "#031f58"
}
}
},
"blocks": [
{
"alignment": "left",
"segments": [
{
"leading_diamond": "\u256d\u2500\u2500\u2500\u2500\ue0b6",
"style": "diamond",
"properties": {
"folder_icon": " \uf07b ",
"home_icon": "\uf015",
"style": "folder"
},
"template": "\uf07b {{ .Path }}",
"background": "p:base",
"type": "path"
},
{
"background": "p:base",
"foreground": "p:color-5",
"properties": {
"always_enabled": true
},
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": "\uf85E",
"type": "text"
},
{
"background": "p:color-5",
"powerline_symbol": "\ue0b0",
"properties": {
"branch_icon": "\ue725 ",
"fetch_status": true,
"fetch_upstream_icon": true
},
"style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }} ",
"type": "git"
},
{
"background": "p:color-4",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " \ue718 {{ .Major }} ",
"type": "node"
},
{
"background": "p:color-2",
"type": "react",
"style": "powerline",
"powerline_symbol": "\ue0b0",
"template": " \ue625 {{ .Major }} "
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "p:base",
"style": "plain",
"template": "\u2570 ",
"type": "text"
}
],
"type": "prompt"
}
],
"version": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment