Last active
December 4, 2023 12:54
-
-
Save Ultraporing/002978d8c7dd8b9efc013b0ac1be75f9 to your computer and use it in GitHub Desktop.
Oh my posh theme based on paradox.omp.json and others
This file contains 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": "left", | |
"segments": [{ | |
"background": "#0077c2", | |
"foreground": "#ffffff", | |
"leading_diamond": "<transparent,#00c7fc>\ue0b0</>", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": " \ue683 <#0077c2,#00c7fc>\ue0b0</>", | |
"trailing_diamond": "<transparent,#00c7fc>\ue0b0</>", | |
"type": "shell" | |
},{ | |
"background": "#00c7fc", | |
"foreground": "#000000", | |
"leading_diamond": "<transparent,#00c7fc>\ue0b0</>", | |
"style": "powerline", | |
"trailing_diamond": "<transparent,#00c7fc>\ue0b2</>", | |
"template": "\ue266 RAM:{{ round .PhysicalPercentUsed .Precision }}% {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB ", | |
"type": "sysinfo" | |
}, { | |
"background": "#91ddff", | |
"foreground": "#100e23", | |
"powerline_symbol": "\ue0b0", | |
"properties": { | |
"folder_icon": "\uf115", | |
"folder_separator_icon": " \ue0b1 ", | |
"hide_root_location": true, | |
"max_width": 100, | |
"style": "powerlevel" | |
}, | |
"style": "powerline", | |
"template": " {{ .Path }} ", | |
"type": "path" | |
}, { | |
"background": "#95ffa4", | |
"foreground": "#193549", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": " {{ .HEAD }} ", | |
"type": "git" | |
}, { | |
"background": "#906cff", | |
"foreground": "#100e23", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ", | |
"type": "python" | |
}, { | |
"background": "#ff8080", | |
"foreground": "#ffffff", | |
"powerline_symbol": "\ue0b0", | |
"style": "powerline", | |
"template": " \ue20f ", | |
"type": "status" | |
} | |
], | |
"type": "prompt" | |
}, { | |
"alignment": "right", | |
"overflow": "hide", | |
"segments": [{ | |
"background": "#2e9599", | |
"foreground": "#111111", | |
"invert_powerline": true, | |
"leading_diamond": "\uE0B6", | |
"properties": { | |
"time_format": "\uf017 15:04:05 \uf073 2.01.06" | |
}, | |
"style": "diamond", | |
"template": "{{ .CurrentDate | date .Format }}", | |
"trailing_diamond": "\uE0B4", | |
"type": "time" | |
} | |
], | |
"type": "prompt" | |
}, { | |
"alignment": "left", | |
"newline": true, | |
"segments": [{ | |
"always_enabled": false, | |
"foreground": "#007ACC", | |
"style": "plain", | |
"template": "\u276f ", | |
"type": "text" | |
} | |
], | |
"type": "prompt" | |
} | |
], | |
"console_title": true, | |
"console_title_style": "template", | |
"console_title_template": "{{if .Root}}🛡️ {{else}}🔐 {{end}}{{ .Folder }}", | |
"final_space": true, | |
"transient_prompt": { | |
"background": "transparent", | |
"foreground": "#FEF5ED", | |
"template": "\ue285 " | |
}, | |
"version": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment