Skip to content

Instantly share code, notes, and snippets.

@asachs01
Created August 21, 2025 17:37
Show Gist options
  • Save asachs01/49459365413e49fd01d98ed012179e3f to your computer and use it in GitHub Desktop.
Save asachs01/49459365413e49fd01d98ed012179e3f to your computer and use it in GitHub Desktop.
Nord theme for Oh My Posh
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"palette": {
"nord0": "#2E3440",
"nord1": "#3B4252",
"nord2": "#434C5E",
"nord3": "#4C566A",
"nord4": "#D8DEE9",
"nord5": "#E5E9F0",
"nord6": "#ECEFF4",
"nord7": "#8FBCBB",
"nord8": "#88C0D0",
"nord9": "#81A1C1",
"nord10": "#5E81AC",
"nord11": "#BF616A",
"nord12": "#D08770",
"nord13": "#EBCB8B",
"nord14": "#A3BE8C",
"nord15": "#B48EAD"
},
"secondary_prompt": {
"template": "<p:nord13,transparent>\ue0b6</><,p:nord13> > </><p:nord13,transparent>\ue0b0</> ",
"foreground": "p:nord0",
"background": "transparent"
},
"transient_prompt": {
"template": "<p:nord13,transparent>\ue0b6</><,p:nord13> {{ .Folder }} </><p:nord13,transparent>\ue0b0</> ",
"foreground": "p:nord0",
"background": "transparent"
},
"upgrade": {
"source": "cdn",
"interval": "168h",
"auto": false,
"notice": false
},
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"leading_diamond": "\ue0b6",
"trailing_diamond": "\ue0b0",
"template": " {{ if .SSHSession }}\ueba9 {{ end }}{{ .UserName }} ",
"foreground": "p:nord0",
"background": "p:nord13",
"type": "session",
"style": "diamond"
},
{
"properties": {
"style": "folder"
},
"template": " \uea83 {{ path .Path .Location }} ",
"foreground": "p:nord6",
"powerline_symbol": "\ue0b0",
"background": "p:nord12",
"type": "path",
"style": "powerline"
},
{
"properties": {
"branch_template": "{{ trunc 25 .Branch }}",
"fetch_status": true,
"fetch_upstream_icon": true
},
"template": " {{ if .UpstreamURL }}{{ url .UpstreamIcon .UpstreamURL }} {{ end }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} ",
"foreground": "p:nord0",
"powerline_symbol": "\ue0b0",
"background": "p:nord14",
"type": "git",
"style": "powerline",
"foreground_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}p:nord0{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:nord6{{ end }}",
"{{ if gt .Ahead 0 }}p:nord6{{ end }}"
],
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}p:nord13{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:nord11{{ end }}",
"{{ if gt .Ahead 0 }}p:nord15{{ end }}",
"{{ if gt .Behind 0 }}p:nord11{{ end }}"
]
},
{
"template": " \uf0e7 ",
"foreground": "p:nord6",
"powerline_symbol": "\ue0b0",
"background": "p:nord13",
"type": "root",
"style": "powerline"
},
{
"properties": {
"always_enabled": true
},
"leading_diamond": "<transparent,background>\ue0b0</>",
"trailing_diamond": "\ue0b4",
"template": " {{ if gt .Code 0 }}\uf00d{{ else }}\uf00c{{ end }} ",
"foreground": "p:nord6",
"background": "p:nord8",
"type": "status",
"style": "diamond",
"background_templates": [
"{{ if gt .Code 0 }}p:nord11{{ end }}"
]
}
]
},
{
"type": "rprompt",
"segments": [
{
"properties": {
"display_mode": "files",
"fetch_package_manager": false,
"home_enabled": false
},
"template": "\ue718 ",
"foreground": "p:nord14",
"background": "transparent",
"type": "node",
"style": "plain"
},
{
"properties": {
"fetch_version": false
},
"template": "\ue626 ",
"foreground": "p:nord8",
"background": "transparent",
"type": "go",
"style": "plain"
},
{
"properties": {
"display_mode": "files",
"fetch_version": false,
"fetch_virtual_env": false
},
"template": "\ue235 ",
"foreground": "p:nord13",
"background": "transparent",
"type": "python",
"style": "plain"
},
{
"template": "in <p:nord8><b>{{ .Name }}</b></> ",
"foreground": "p:nord4",
"background": "transparent",
"type": "shell",
"style": "plain"
},
{
"template": "at <p:nord8><b>{{ .CurrentDate | date \"15:04:05\" }}</b></>",
"foreground": "p:nord4",
"background": "transparent",
"type": "time",
"style": "plain"
}
]
}
],
"tooltips": [
{
"properties": {
"display_default": true
},
"leading_diamond": "\ue0b0",
"trailing_diamond": "\ue0b4",
"template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ",
"foreground": "p:nord6",
"background": "p:nord12",
"type": "aws",
"style": "diamond",
"tips": [
"aws"
]
},
{
"properties": {
"display_default": true
},
"leading_diamond": "\ue0b0",
"trailing_diamond": "\ue0b4",
"template": " \uebd8 {{ .Name }} ",
"foreground": "p:nord6",
"background": "p:nord8",
"type": "az",
"style": "diamond",
"tips": [
"az"
]
}
],
"version": 3,
"final_space": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment