Last active
June 19, 2023 15:15
-
-
Save ItsFelix5/7702af7858b30c73e2c54ed62b2a4405 to your computer and use it in GitHub Desktop.
A custom theme i made for oh my posh.
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", | |
| "version": 2, | |
| "console_title_template": "{{.Folder}} | {{ .UserName }}@{{ .HostName }}", | |
| "blocks": [ | |
| { | |
| "alignment": "left", | |
| "segments": [ | |
| { | |
| "background": "#0077c2", | |
| "foreground": "#ffffff", | |
| "leading_diamond": "\u256d\u2500\ue0b6", | |
| "style": "diamond", | |
| "template": "\uf120 {{ .Name }} ", | |
| "type": "shell" | |
| }, | |
| { | |
| "background": "#ef5350", | |
| "foreground": "#FFFB38", | |
| "style": "diamond", | |
| "template": "<parentBackground>\ue0b0</> \uf292 ", | |
| "type": "root" | |
| }, | |
| { | |
| "background": "#FF9248", | |
| "foreground": "#2d3436", | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "folder_icon": "\u2026", | |
| "folder_separator_icon": " \ue0b1 ", | |
| "style": "agnoster_short", | |
| "max_depth": 3 | |
| }, | |
| "style": "powerline", | |
| "template": " {{ .Path }} ", | |
| "type": "path" | |
| }, | |
| { | |
| "background": "#FFFB38", | |
| "background_templates": [ | |
| "{{ if or (.Working.Changed) (.Staging.Changed) }}#ffeb95{{ end }}", | |
| "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#c5e478{{ end }}", | |
| "{{ if gt .Ahead 0 }}#C792EA{{ end }}", | |
| "{{ if gt .Behind 0 }}#C792EA{{ end }}" | |
| ], | |
| "foreground": "#011627", | |
| "powerline_symbol": "\ue0b0", | |
| "properties": { | |
| "branch_icon": "\ue725 ", | |
| "fetch_status": true, | |
| "fetch_upstream_icon": true | |
| }, | |
| "style": "powerline", | |
| "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#ef5350> \uf046 {{ .Staging.String }}</>{{ end }} ", | |
| "type": "git" | |
| }, | |
| { | |
| "background": "#83769c", | |
| "foreground": "#ffffff", | |
| "properties": { | |
| "style": "roundrock", | |
| "threshold": 0 | |
| }, | |
| "style": "diamond", | |
| "template": " \ueba2{{ .FormattedMs }}\u2800", | |
| "trailing_diamond": "\ue0b4", | |
| "type": "executiontime" | |
| } | |
| ], | |
| "type": "prompt" | |
| }, | |
| { | |
| "type": "prompt", | |
| "alignment": "right", | |
| "segments": [ | |
| { | |
| "foreground": "#94ffa2", | |
| "style": "diamond", | |
| "template": " <#ffffff>CPU:</> {{ round .PhysicalPercentUsed .Precision }}% ", | |
| "type": "sysinfo" | |
| }, | |
| { | |
| "foreground": "#81ff91", | |
| "style": "diamond", | |
| "template": "<#ffffff>\ue266</> <#ffffff>RAM:</> {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB ", | |
| "type": "sysinfo" | |
| }, | |
| { | |
| "background": "#303030", | |
| "foreground": "#3C873A", | |
| "leading_diamond": "\ue0b6", | |
| "properties": { | |
| "fetch_package_manager": true, | |
| "npm_icon": " <#cc3a3a>\ue5fa</> ", | |
| "yarn_icon": " <#348cba>\ue6a7</>" | |
| }, | |
| "style": "diamond", | |
| "template": "\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}", | |
| "trailing_diamond": "\ue0b4 ", | |
| "type": "node" | |
| }, | |
| { | |
| "background": "#306998", | |
| "foreground": "#FFE873", | |
| "leading_diamond": "\ue0b6", | |
| "style": "diamond", | |
| "template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}", | |
| "trailing_diamond": "\ue0b4 ", | |
| "type": "python" | |
| }, | |
| { | |
| "background": "#0e8ac8", | |
| "foreground": "#ec2729", | |
| "leading_diamond": "\ue0b6", | |
| "style": "diamond", | |
| "template": "\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}", | |
| "trailing_diamond": "\ue0b4 ", | |
| "type": "java" | |
| }, | |
| { | |
| "background": "#0e0e0e", | |
| "foreground": "#0d6da8", | |
| "leading_diamond": "\ue0b6", | |
| "style": "diamond", | |
| "template": "\ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}", | |
| "trailing_diamond": "\ue0b4 ", | |
| "type": "dotnet" | |
| }, | |
| { | |
| "background": "#ffffff", | |
| "foreground": "#06aad5", | |
| "leading_diamond": "\ue0b6", | |
| "style": "diamond", | |
| "template": "\ue626 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}", | |
| "trailing_diamond": "\ue0b4 ", | |
| "type": "go" | |
| }, | |
| { | |
| "background": "#f3f0ec", | |
| "foreground": "#925837", | |
| "leading_diamond": "\ue0b6", | |
| "style": "diamond", | |
| "template": "\ue7a8 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}", | |
| "trailing_diamond": "\ue0b4 ", | |
| "type": "rust" | |
| }, | |
| { | |
| "background": "#e1e8e9", | |
| "foreground": "#055b9c", | |
| "leading_diamond": " \ue0b6", | |
| "style": "diamond", | |
| "template": "\ue798 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}", | |
| "trailing_diamond": "\ue0b4 ", | |
| "type": "dart" | |
| }, | |
| { | |
| "background": "#ffffff", | |
| "foreground": "#ce092f", | |
| "leading_diamond": " \ue0b6", | |
| "style": "diamond", | |
| "template": "\ue753 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}", | |
| "trailing_diamond": "\ue0b4 ", | |
| "type": "angular" | |
| }, | |
| { | |
| "background": "#1e293b", | |
| "foreground": "#ffffff", | |
| "leading_diamond": " \ue0b6", | |
| "style": "diamond", | |
| "template": "{{ if .Error }}{{ .Error }}{{ else }}Nx {{ .Full }}{{ end }}", | |
| "trailing_diamond": "\ue0b4 ", | |
| "type": "nx" | |
| }, | |
| { | |
| "background": "#945bb3", | |
| "foreground": "#359a25", | |
| "leading_diamond": " \ue0b6", | |
| "style": "diamond", | |
| "template": "<#ca3c34>\ue624</> {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}", | |
| "trailing_diamond": "\ue0b4 ", | |
| "type": "julia" | |
| }, | |
| { | |
| "background": "#ffffff", | |
| "foreground": "#9c1006", | |
| "leading_diamond": "\ue0b6", | |
| "style": "diamond", | |
| "template": "\ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}", | |
| "trailing_diamond": "\ue0b4 ", | |
| "type": "ruby" | |
| }, | |
| { | |
| "background": "#ffffff", | |
| "foreground": "#5398c2", | |
| "leading_diamond": "\ue0b6", | |
| "style": "diamond", | |
| "template": "\uf104<#f5bf45>\uf0e7</>\uf105 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}", | |
| "trailing_diamond": "\ue0b4 ", | |
| "type": "azfunc" | |
| }, | |
| { | |
| "background": "#565656", | |
| "foreground": "#faa029", | |
| "leading_diamond": "\ue0b6", | |
| "style": "diamond", | |
| "template": "\ue7ad {{.Profile}}{{if .Region}}@{{.Region}}{{end}}", | |
| "trailing_diamond": "\ue0b4 ", | |
| "type": "aws" | |
| }, | |
| { | |
| "background": "#316ce4", | |
| "foreground": "#ffffff", | |
| "leading_diamond": "\ue0b6", | |
| "style": "diamond", | |
| "template": "\uf308 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}", | |
| "trailing_diamond": "\ue0b4", | |
| "type": "kubectl" | |
| }, | |
| { | |
| "background": "#b2bec3", | |
| "foreground": "#222222", | |
| "leading_diamond": "\ue0b6", | |
| "properties": { | |
| "linux": "\ue712", | |
| "macos": "\ue711", | |
| "windows": "\ue70f" | |
| }, | |
| "style": "diamond", | |
| "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}<#262626> \ue0b2</>", | |
| "type": "os" | |
| }, | |
| { | |
| "type": "connection", | |
| "leading_diamond": "\ue0b2", | |
| "style": "diamond", | |
| "background": "#8822ee", | |
| "foreground": "#222222", | |
| "template": "{{ if eq .Type \"wifi\"}}\uf1eb{{ else if eq .Type \"ethernet\"}}\ueba9 {{end}} \ue0b2</>" | |
| }, | |
| { | |
| "background": "#ffffff", | |
| "foreground": "#100e23", | |
| "leading_diamond": "\ue0b2", | |
| "style": "diamond", | |
| "template": " {{ .UserName }}@{{ .HostName }} \ue0b2</>", | |
| "type": "session" | |
| }, | |
| { | |
| "background": "#40c4ff", | |
| "foreground": "#ffffff", | |
| "invert_powerline": true, | |
| "leading_diamond": "\ue0b2", | |
| "properties": { | |
| "time_format": "2 Jan 15:04:05" | |
| }, | |
| "style": "diamond", | |
| "template": " \uf073 {{ .CurrentDate | date .Format }} ", | |
| "trailing_diamond": "\ue0b4", | |
| "type": "time" | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "prompt", | |
| "alignment": "left", | |
| "newline": true, | |
| "segments": [ | |
| { | |
| "foreground": "#0077c2", | |
| "style": "plain", | |
| "template": "\u2570\u2500", | |
| "type": "text" | |
| }, | |
| { | |
| "foreground": "#e0f8ff", | |
| "foreground_templates": ["{{ if gt .Code 0 }}#ef5350{{ end }}"], | |
| "properties": { | |
| "always_enabled": true | |
| }, | |
| "style": "plain", | |
| "template": "\ue285", | |
| "type": "exit" | |
| } | |
| ] | |
| } | |
| ], | |
| "tooltips": [ | |
| { | |
| "type": "git", | |
| "tips": ["git", "gi", "g"], | |
| "style": "diamond", | |
| "foreground": "#193549", | |
| "background": "#fffb38", | |
| "leading_diamond": "", | |
| "trailing_diamond": "", | |
| "template": "{{ .HEAD }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}", | |
| "properties": { | |
| "fetch_status": true, | |
| "fetch_upstream_icon": true | |
| } | |
| }, | |
| { | |
| "type": "docker", | |
| "tips": ["docker", "docke", "dock"], | |
| "style": "diamond", | |
| "foreground": "#193549", | |
| "background": "#0B59E7", | |
| "leading_diamond": "", | |
| "trailing_diamond": "", | |
| "template": " {{ .Context }} " | |
| }, | |
| { | |
| "type": "dart", | |
| "tips": ["dart", "dar"], | |
| "style": "diamond", | |
| "foreground": "#193549", | |
| "background": "#06A4CE", | |
| "leading_diamond": "", | |
| "trailing_diamond": "", | |
| "template": " {{ .Full }} " | |
| }, | |
| { | |
| "type": "dotnet", | |
| "tips": ["dotn", "dotne", "dotnet"], | |
| "style": "diamond", | |
| "foreground": "#193549", | |
| "background": "#00ffff", | |
| "leading_diamond": "", | |
| "trailing_diamond": "", | |
| "template": " {{ .Full }} " | |
| }, | |
| { | |
| "type": "go", | |
| "tips": ["go"], | |
| "style": "diamond", | |
| "foreground": "#193549", | |
| "background": "#7FD5EA", | |
| "leading_diamond": "", | |
| "trailing_diamond": "", | |
| "template": " ﳑ {{ .Full }} " | |
| }, | |
| { | |
| "type": "java", | |
| "tips": ["java", "jav"], | |
| "style": "diamond", | |
| "foreground": "#193549", | |
| "background": "#e08113", | |
| "leading_diamond": "", | |
| "trailing_diamond": "", | |
| "template": " {{ .Full }}" | |
| }, | |
| { | |
| "type": "lua", | |
| "tips": ["lua"], | |
| "style": "diamond", | |
| "foreground": "#193549", | |
| "background": "#42a5f5", | |
| "leading_diamond": "", | |
| "trailing_diamond": "", | |
| "template": " {{ .Full }} " | |
| }, | |
| { | |
| "type": "node", | |
| "tips": ["node", "nod"], | |
| "style": "diamond", | |
| "foreground": "#193549", | |
| "background": "#6CA35E", | |
| "leading_diamond": "", | |
| "trailing_diamond": "", | |
| "template": " {{ .Full }}" | |
| }, | |
| { | |
| "type": "perl", | |
| "tips": ["perl"], | |
| "style": "diamond", | |
| "foreground": "#193549", | |
| "background": "#4063D8", | |
| "leading_diamond": "", | |
| "trailing_diamond": "", | |
| "template": " {{ .Full }}" | |
| }, | |
| { | |
| "type": "perl", | |
| "tips": ["perl"], | |
| "style": "diamond", | |
| "foreground": "#193549", | |
| "background": "#4063D8", | |
| "leading_diamond": "", | |
| "trailing_diamond": "", | |
| "template": " {{ .Full }}" | |
| }, | |
| { | |
| "type": "php", | |
| "tips": ["php"], | |
| "style": "diamond", | |
| "foreground": "#193549", | |
| "background": "#4063D8", | |
| "leading_diamond": "", | |
| "trailing_diamond": "", | |
| "template": " {{ .Full }}" | |
| }, | |
| { | |
| "type": "python", | |
| "tips": ["python", "pytho", "pyth", "pyt", "py"], | |
| "style": "diamond", | |
| "foreground": "#193549", | |
| "background": "#3974a5", | |
| "leading_diamond": "", | |
| "trailing_diamond": "", | |
| "template": " {{ .Full }}" | |
| }, | |
| { | |
| "type": "ruby", | |
| "tips": ["ruby"], | |
| "style": "diamond", | |
| "foreground": "#193549", | |
| "background": "#4063D8", | |
| "leading_diamond": "", | |
| "trailing_diamond": "", | |
| "template": " {{ .Full }}" | |
| }, | |
| { | |
| "type": "rust", | |
| "tips": ["rust"], | |
| "style": "diamond", | |
| "foreground": "#193549", | |
| "background": "#ea4800", | |
| "leading_diamond": "", | |
| "trailing_diamond": "", | |
| "template": " {{ .Full }}" | |
| }, | |
| { | |
| "type": "swift", | |
| "tips": ["swift"], | |
| "style": "diamond", | |
| "foreground": "#193549", | |
| "background": "#f6553c", | |
| "leading_diamond": "", | |
| "trailing_diamond": "", | |
| "template": " {{ .Full }}" | |
| }, | |
| { | |
| "type": "unity", | |
| "tips": ["unity"], | |
| "style": "diamond", | |
| "foreground": "#193549", | |
| "background": "#88898b", | |
| "leading_diamond": "", | |
| "trailing_diamond": "", | |
| "template": " {{ .Full }}" | |
| } | |
| ], | |
| "transient_prompt": { | |
| "background": "transparent", | |
| "foreground": "#ffffff", | |
| "template": " {{.PWD}}>" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment