Skip to content

Instantly share code, notes, and snippets.

@mattcargile
Created June 11, 2025 19:27
Show Gist options
  • Save mattcargile/67982a85cb2c5f188b968a6d8ce6a9e4 to your computer and use it in GitHub Desktop.
Save mattcargile/67982a85cb2c5f188b968a6d8ce6a9e4 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",
"debug_prompt": {
"template": "<#FFA500,transparent>\uf188\u2800</><#046e29,transparent>\uf054</> ",
"foreground": "#ffffff",
"background": "transparent"
},
"secondary_prompt": {
"template": "\uf48b\uf460 ",
"foreground": "#046e29",
"background": "transparent"
},
"upgrade": {
"source": "cdn",
"interval": "168h",
"auto": false,
"notice": false
},
"console_title_template": "{{ .Folder }}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
"windows": "\ue62a"
},
"leading_diamond": "\u256d\u2500\ue0b6",
"trailing_diamond": "\ue0b0",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"foreground": "#011627",
"background": "#21c7a8",
"type": "os",
"style": "diamond"
},
{
"template": " \uf292 ",
"foreground": "#ffeb95",
"powerline_symbol": "\ue0b0",
"background": "#ef5350",
"type": "root",
"style": "powerline"
},
{
"properties": {
"folder_icon": "\uf07c ",
"folder_separator_icon": "<#011627>\ue0b1</> ",
"home_icon": "\ueb06 ",
"style": "agnoster"
},
"foreground": "#011627",
"powerline_symbol": "\ue0b0",
"background": "#82AAFF",
"type": "path",
"style": "powerline"
},
{
"properties": {
"branch_icon": "\ue725 ",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true,
"fetch_worktree_count": true
},
"template": " {{ url .UpstreamIcon .UpstreamURL }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
"foreground": "#011627",
"powerline_symbol": "\ue0b0",
"background": "#addb67",
"type": "git",
"style": "powerline",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#e4cf6a{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f78c6c{{ end }}",
"{{ if gt .Ahead 0 }}#C792EA{{ end }}",
"{{ if gt .Behind 0 }}#c792ea{{ end }}"
]
},
{
"properties": {
"style": "roundrock",
"threshold": 0
},
"leading_diamond": "<transparent,#575656>\ue0b0</>",
"trailing_diamond": "\ue0b4",
"template": " {{ .FormattedMs }}",
"foreground": "#d6deeb",
"background": "#575656",
"type": "executiontime",
"style": "diamond"
}
]
},
{
"type": "prompt",
"alignment": "right",
"overflow": "break",
"segments": [
{
"leading_diamond": "\ue0b6",
"trailing_diamond": "<transparent,#d6deeb>\ue0b2</>",
"template": "\uf489 {{ .Name }} ",
"foreground": "#011627",
"background": "#d6deeb",
"type": "shell",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#8f43f3>\ue0b2</>",
"template": "\ue266 {{ round .PhysicalPercentUsed .Precision }}% ",
"foreground": "#ffffff",
"background": "#8f43f3",
"type": "sysinfo",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"template": "\ue753 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#ce092f",
"background": "#ffffff",
"type": "angular",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#565656>\ue0b2</>",
"template": "\ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ",
"foreground": "#faa029",
"background": "#565656",
"type": "aws",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#5a7a94>\ue0b2</>",
"template": "\ue311 cds {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#100e23",
"background": "#5a7a94",
"type": "cds",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#000000>\ue0b2</>",
"template": "\ue370 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#000000",
"background": "#ffffff",
"type": "crystal",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"template": "\uf40a cf {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#1d5185",
"background": "#ffffff",
"type": "cf",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"template": "\uf40a {{if .Org }}{{ .Org }}{{ end }}{{ if .Space }}/{{ .Space }}{{ end }} ",
"foreground": "#1d5185",
"background": "#ffffff",
"type": "cftarget",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#d2d2d2>\ue0b2</>",
"template": "<#2829b2>\ue61e</> <#be1818>\ue61d</> cmake {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#01a300",
"background": "#d2d2d2",
"type": "cmake",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#e1e8e9>\ue0b2</>",
"template": "\ue798 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#055b9c",
"background": "#e1e8e9",
"type": "dart",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#0e0e0e>\ue0b2</>",
"template": "\ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#0d6da8",
"background": "#0e0e0e",
"type": "dotnet",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#06A4CE>\ue0b2</>",
"template": "\ue28e {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#ffffff",
"background": "#06A4CE",
"type": "flutter",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"template": "\ue626 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#06aad5",
"background": "#ffffff",
"type": "go",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#100e23>\ue0b2</>",
"template": "\ue61f {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#906cff",
"background": "#100e23",
"type": "haskell",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"template": "\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#ec2729",
"background": "#ffffff",
"type": "java",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#945bb3>\ue0b2</>",
"template": "<#ca3c34>\ue624</> {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#ffffff",
"background": "#945bb3",
"type": "julia",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#906cff>\ue0b2</>",
"template": "K {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#ffffff",
"background": "#906cff",
"type": "kotlin",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#316ce4>\ue0b2</>",
"template": "\uf308 {{.Context}} :: {{if .Namespace}}{{.Namespace}}{{else}}default{{end}} ",
"foreground": "#ffffff",
"background": "#316ce4",
"type": "kubectl",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"template": "\ue620 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#000081",
"background": "#ffffff",
"type": "lua",
"style": "diamond"
},
{
"properties": {
"fetch_package_manager": true,
"npm_icon": "<#cc3a3a>\ue71e</> ",
"yarn_icon": "<#348cba>\ue6a7</> "
},
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#303030>\ue0b2</>",
"template": "\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"foreground": "#3C873A",
"background": "#303030",
"type": "node",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#6488c0>\ue0b2</>",
"template": "Nx {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#1e293b",
"background": "#6488c0",
"type": "nx",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#41436d>\ue0b2</>",
"template": "\ue769 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#ffffff",
"background": "#41436d",
"type": "perl",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#787CB5>\ue0b2</>",
"template": "\ue73d {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#000000",
"background": "#787CB5",
"type": "php",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#306998>\ue0b2</>",
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}",
"foreground": "#FFE873",
"background": "#306998",
"type": "python",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#b9bbbf>\ue0b2</>",
"template": "R {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#1c68bd",
"background": "#b9bbbf",
"type": "r",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"template": "\ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#9c1006",
"background": "#ffffff",
"type": "ruby",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"template": "\ue7a8 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#000000",
"background": "#ffffff",
"type": "rust",
"style": "diamond"
},
{
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#fe562e>\ue0b2</>",
"template": "\ue755 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"foreground": "#ffffff",
"background": "#fe562e",
"type": "swift",
"style": "diamond"
},
{
"properties": {
"time_format": "15:04:05"
},
"leading_diamond": "\ue0b2",
"trailing_diamond": "\ue0b4",
"template": "\ue641 {{ .CurrentDate | date .Format }}",
"foreground": "#d6deeb",
"background": "#234d70",
"type": "time",
"style": "diamond"
}
]
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"template": "\u2570\u2500",
"foreground": "#21c7a8",
"type": "text",
"style": "plain"
},
{
"properties": {
"playing_icon": "\uf1bc "
},
"leading_diamond": "\ue0b6",
"trailing_diamond": "\ue0c6 ",
"template": " {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} ~ {{ .Track }}{{ end }} ",
"foreground": "#011627",
"background": "#1DB954",
"type": "spotify",
"style": "diamond"
},
{
"properties": {
"always_enabled": true
},
"template": "\ue285\ue285",
"foreground": "#22da6e",
"type": "status",
"style": "plain",
"foreground_templates": [
"{{ if gt .Code 0 }}#ef5350{{ end }}"
]
}
],
"newline": true
}
],
"version": 3,
"final_space": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment