Last active
December 28, 2024 15:19
-
-
Save JKc66/e82b971c2cd88a88b44f2af065d3838e to your computer and use it in GitHub Desktop.
ubuntu terminal theme 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", | |
"blocks": [ | |
{ | |
"alignment": "right", | |
"segments": [ | |
{ | |
"background": "#424242", | |
"foreground": "#3EC669", | |
"leading_diamond": "\ue0b6", | |
"properties": { | |
"style": "folder" | |
}, | |
"style": "diamond", | |
"template": "\uf07c {{ .Path }}", | |
"trailing_diamond": "\ue0b4", | |
"type": "path" | |
}, | |
{ | |
"background": "#424242", | |
"foreground": "#43CCEA", | |
"leading_diamond": " \ue0b6", | |
"properties": { | |
"branch_icon": "" | |
}, | |
"style": "diamond", | |
"template": "\uf418 {{ .HEAD }}", | |
"trailing_diamond": "\ue0b4", | |
"type": "git" | |
}, | |
{ | |
"background": "#424242", | |
"foreground": "#E4F34A", | |
"leading_diamond": " \ue0b6", | |
"properties": { | |
"fetch_version": false | |
}, | |
"style": "diamond", | |
"template": "\ue235{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}", | |
"trailing_diamond": "\ue0b4", | |
"type": "python" | |
}, | |
{ | |
"background": "#424242", | |
"foreground": "#7FD5EA", | |
"leading_diamond": " \ue0b6", | |
"properties": { | |
"fetch_version": false | |
}, | |
"style": "diamond", | |
"template": "\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}", | |
"trailing_diamond": "\ue0b4", | |
"type": "go" | |
}, | |
{ | |
"background": "#424242", | |
"foreground": "#42E66C", | |
"leading_diamond": " \ue0b6", | |
"properties": { | |
"fetch_version": false | |
}, | |
"style": "diamond", | |
"template": "\ue718{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}", | |
"trailing_diamond": "\ue0b4", | |
"type": "node" | |
}, | |
{ | |
"background": "#424242", | |
"foreground": "#E64747", | |
"leading_diamond": " \ue0b6", | |
"properties": { | |
"fetch_version": false | |
}, | |
"style": "diamond", | |
"template": "\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}", | |
"trailing_diamond": "\ue0b4", | |
"type": "ruby" | |
}, | |
{ | |
"background": "#424242", | |
"foreground": "#E64747", | |
"leading_diamond": " \ue0b6", | |
"properties": { | |
"fetch_version": false | |
}, | |
"style": "diamond", | |
"template": "\ue738{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}", | |
"trailing_diamond": "\ue0b4", | |
"type": "java" | |
}, | |
{ | |
"background": "#424242", | |
"foreground": "#9B6BDF", | |
"leading_diamond": " \ue0b6", | |
"properties": { | |
"fetch_version": false | |
}, | |
"style": "diamond", | |
"template": "\ue624{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}", | |
"trailing_diamond": "\ue0b4", | |
"type": "julia" | |
}, | |
{ | |
"background": "#424242", | |
"foreground": "#9B6BDF", | |
"foreground_templates": [ | |
"{{if eq \"Charging\" .State.String}}#40c4ff{{end}}", | |
"{{if eq \"Discharging\" .State.String}}#ff5722{{end}}", | |
"{{if eq \"Full\" .State.String}}#4caf50{{end}}" | |
], | |
"leading_diamond": " \ue0b6", | |
"properties": { | |
"charged_icon": "\u25cf ", | |
"charging_icon": "\u21e1 ", | |
"discharging_icon": "\u21e3 " | |
}, | |
"style": "diamond", | |
"template": "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}", | |
"trailing_diamond": "\ue0b4", | |
"type": "battery" | |
} | |
], | |
"type": "rprompt" | |
}, | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#424242", | |
"foreground": "#9B6BDF", | |
"leading_diamond": "\ue0b6", | |
"style": "diamond", | |
"template": "{{ .UserName }} \uf007", | |
"trailing_diamond": "\ue0b4 ", | |
"type": "session" | |
} | |
], | |
"type": "prompt" | |
} | |
], | |
"version": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment