Skip to content

Instantly share code, notes, and snippets.

@NetzwergX
Last active July 10, 2025 08:32
Show Gist options
  • Save NetzwergX/5bad21e6bd436e63b42d667832273398 to your computer and use it in GitHub Desktop.
Save NetzwergX/5bad21e6bd436e63b42d667832273398 to your computer and use it in GitHub Desktop.
My oh-my-posh v3 theme, based on powerlevel10k_rainbow (added java & dotnet, removed adornments)
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"newline": true
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"foreground": "#000000",
"background": "#d3d7cf",
"type": "os",
"style": "diamond"
},
{
"properties": {
"home_icon": "~",
"prefix": " \uf07c ",
"style": "mixed"
},
"foreground": "#e4e4e4",
"powerline_symbol": "\ue0b0",
"background": "#3465a4",
"type": "path",
"style": "powerline"
},
{
"properties": {
"ahead_and_behind_color": "#f26d50",
"ahead_color": "#89d1dc",
"behind_color": "#4e9a06",
"branch_icon": "\uf126 ",
"display_stash_count": true,
"display_upstream_icon": true,
"local_changes_color": "#c4a000",
"stash_count_icon": "\uf692 ",
"status_colors_enabled": true
},
"foreground": "#000000",
"powerline_symbol": "\ue0b0",
"background": "#4e9a06",
"type": "git",
"style": "powerline"
}
],
"newline": true
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"properties": {
"display_version": true,
"postfix": " \ue738 "
},
"foreground": "#ffffff",
"powerline_symbol": "\ue0b2",
"background": "#4063D8",
"type": "java",
"style": "powerline",
"invert_powerline": true
},
{
"properties": {
"display_version": true,
"postfix": " \ue77f "
},
"foreground": "#000000",
"powerline_symbol": "\ue0b2",
"background": "#00ffff",
"type": "dotnet",
"style": "powerline",
"invert_powerline": true
},
{
"properties": {
"display_version": true,
"postfix": " \uf898 "
},
"foreground": "#ffffff",
"powerline_symbol": "\ue0b2",
"background": "#689f63",
"type": "node",
"style": "powerline",
"invert_powerline": true
},
{
"properties": {
"display_version": true,
"postfix": " \ue627 "
},
"foreground": "#111111",
"powerline_symbol": "\ue0b2",
"background": "#00acd7",
"type": "go",
"style": "powerline",
"invert_powerline": true
},
{
"properties": {
"display_version": true,
"postfix": " \ue624 "
},
"foreground": "#111111",
"powerline_symbol": "\ue0b2",
"background": "#4063D8",
"type": "julia",
"style": "powerline",
"invert_powerline": true
},
{
"properties": {
"display_mode": "files",
"display_version": true,
"display_virtual_env": false,
"postfix": " \ue235 "
},
"foreground": "#111111",
"powerline_symbol": "\ue0b2",
"background": "#FFDE57",
"type": "python",
"style": "powerline",
"invert_powerline": true
},
{
"properties": {
"display_mode": "files",
"display_version": true,
"postfix": " \ue791 "
},
"foreground": "#ffffff",
"powerline_symbol": "\ue0b2",
"background": "#AE1401",
"type": "ruby",
"style": "powerline",
"invert_powerline": true
},
{
"properties": {
"display_mode": "files",
"display_version": false,
"postfix": " \uf0e7"
},
"foreground": "#ffffff",
"powerline_symbol": "\ue0b2",
"background": "#FEAC19",
"type": "azfunc",
"style": "powerline",
"invert_powerline": true
},
{
"properties": {
"display_default": false,
"postfix": " \ue7ad "
},
"foreground": "#ffffff",
"powerline_symbol": "\ue0b2",
"type": "aws",
"style": "powerline",
"background_templates": [
"{{if contains \"default\" .Profile}}#FFA400{{end}}",
"{{if contains \"jan\" .Profile}}#f1184c{{end}}"
],
"invert_powerline": true
},
{
"properties": {
"root_icon": "\uf0ad"
},
"foreground": "#111111",
"powerline_symbol": "\ue0b2",
"background": "#ffff66",
"type": "root",
"style": "powerline",
"invert_powerline": true
},
{
"properties": {
"postfix": " \uf252 ",
"always_enabled": true,
"threshold": 0
},
"foreground": "#000000",
"powerline_symbol": "\ue0b2",
"background": "#c4a000",
"type": "executiontime",
"style": "powerline",
"invert_powerline": true
},
{
"type": "status",
"style": "powerline",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"foreground": "#ffffff",
"background": "#ff2222"
},
{
"properties": {
"postfix": " \uf017 "
},
"foreground": "#000000",
"background": "#d3d7cf",
"type": "time",
"style": "diamond",
"invert_powerline": true
}
]
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"properties": {
"text": "λ"
},
"foreground": "#fff",
"background": "#000",
"type": "text",
"style": "diamond"
}
],
"newline": true
}
],
"version": 3,
"final_space": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment