Created
May 16, 2025 08:46
-
-
Save Matthew-Wise/d6ff84b4e079384063609249c92e9e13 to your computer and use it in GitHub Desktop.
Terminal Theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
| "palette": { | |
| "black": "#262B44", | |
| "blue": "#4B95E9", | |
| "green": "#59C9A5", | |
| "orange": "#F07623", | |
| "red": "#D81E5B", | |
| "white": "#E0DEF4", | |
| "yellow": "#F3AE35" | |
| }, | |
| "secondary_prompt": { | |
| "template": "<p:yellow,transparent>\ue0b6</><,p:yellow> > </><p:yellow,transparent>\ue0b0</> ", | |
| "foreground": "p:black", | |
| "background": "transparent" | |
| }, | |
| "transient_prompt": { | |
| "template": "<p:yellow,transparent>\ue0b6</><,p:yellow> {{ .Folder }} </><p:yellow,transparent>\ue0b0</> ", | |
| "foreground": "p:black", | |
| "background": "transparent" | |
| }, | |
| "console_title_template": "{{ .Shell }} in {{ .Folder }}", | |
| "upgrade": { | |
| "source": "cdn", | |
| "interval": "168h", | |
| "auto": false, | |
| "notice": false | |
| }, | |
| "blocks": [ | |
| { | |
| "type": "prompt", | |
| "alignment": "left", | |
| "segments": [ | |
| { | |
| "leading_diamond": "\ue0b6", | |
| "trailing_diamond": "\ue0b0", | |
| "template": " {{ if .SSHSession }}\ueba9 {{ end }}{{ .UserName }} ", | |
| "foreground": "p:black", | |
| "background": "p:yellow", | |
| "type": "session", | |
| "style": "diamond" | |
| }, | |
| { | |
| "properties": { | |
| "style": "folder" | |
| }, | |
| "template": " \uea83 {{ path .Path .Location }} ", | |
| "foreground": "p:white", | |
| "powerline_symbol": "\ue0b0", | |
| "background": "p:orange", | |
| "type": "path", | |
| "style": "powerline" | |
| }, | |
| { | |
| "properties": { | |
| "branch_max_length": 25, | |
| "fetch_status": true, | |
| "fetch_upstream_icon": true | |
| }, | |
| "template": " {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} ", | |
| "foreground": "p:black", | |
| "powerline_symbol": "\ue0b0", | |
| "background": "p:green", | |
| "type": "git", | |
| "style": "powerline", | |
| "foreground_templates": [ | |
| "{{ if or (.Working.Changed) (.Staging.Changed) }}p:black{{ end }}", | |
| "{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:white{{ end }}", | |
| "{{ if gt .Ahead 0 }}p:white{{ end }}" | |
| ], | |
| "background_templates": [ | |
| "{{ if or (.Working.Changed) (.Staging.Changed) }}p:yellow{{ end }}", | |
| "{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:red{{ end }}", | |
| "{{ if gt .Ahead 0 }}#49416D{{ end }}", | |
| "{{ if gt .Behind 0 }}#7A306C{{ end }}" | |
| ] | |
| }, | |
| { | |
| "template": " \uf0e7 ", | |
| "foreground": "p:white", | |
| "powerline_symbol": "\ue0b0", | |
| "background": "p:yellow", | |
| "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:white", | |
| "background": "p:blue", | |
| "type": "status", | |
| "style": "diamond", | |
| "background_templates": [ | |
| "{{ if gt .Code 0 }}p:red{{ end }}" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "rprompt", | |
| "overflow": "break", | |
| "segments": [ | |
| { | |
| "template": "<p:blue><b>{{ .CurrentDate | date \"15:04:05\" }}</b></>", | |
| "foreground": "p:white", | |
| "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:white", | |
| "background": "p:orange", | |
| "type": "aws", | |
| "style": "diamond", | |
| "tips": [ | |
| "aws" | |
| ] | |
| }, | |
| { | |
| "properties": { | |
| "display_default": true | |
| }, | |
| "leading_diamond": "\ue0b0", | |
| "trailing_diamond": "\ue0b4", | |
| "template": " \uebd8 {{ .Name }} ", | |
| "foreground": "p:white", | |
| "background": "p:blue", | |
| "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