Last active
November 14, 2021 14:06
-
-
Save 50l3r/ea7aa4fbc94f876372bc70bac34b2c9b to your computer and use it in GitHub Desktop.
Oh My Posh Custom Theme
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", | |
"final_space": true, | |
"osc99": true, | |
"console_title": true, | |
"console_title_style": "template", | |
"console_title_template": "{{if .Root}} ⚡ {{end}}{{.Folder | replace \"~\" \"🏠\"}} @ {{.Host}}", | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#0C212F", | |
"foreground": "#FFFFFF", | |
"leading_diamond": "\uE0B6", | |
"trailing_diamond": "\uE0B0", | |
"style": "diamond", | |
"type": "os" | |
}, | |
{ | |
"background": "#FF2740", | |
"foreground": "#FFFFFF", | |
"leading_diamond": "<transparent,#FF2740>\uE0B0</>", | |
"style": "diamond", | |
"trailing_diamond": "\uE0B0", | |
"type": "root" | |
}, | |
{ | |
"background": "#0C212F", | |
"foreground": "#5ffa68", | |
"leading_diamond": "<transparent,#0C212F>\uE0B0</>", | |
"properties": { | |
"prefix": " \uE5FF ", | |
"style": "full", | |
"folder_separator_icon": "/" | |
}, | |
"style": "diamond", | |
"trailing_diamond": "\uE0B0", | |
"type": "path" | |
}, | |
{ | |
"background": "#280C2E", | |
"foreground": "#FFFFFF", | |
"powerline_symbol": "\uE0B0", | |
"properties": { | |
"ahead_and_behind_color": "#7621DE", | |
"ahead_color": "#7621DE", | |
"behind_color": "#7621DE", | |
"display_stash_count": true, | |
"display_status": true, | |
"display_upstream_icon": true, | |
"local_changes_color": "#7621DE", | |
"prefix": " ", | |
"staging_color": "#7621DE", | |
"status_colors_enabled": true | |
}, | |
"style": "powerline", | |
"type": "git" | |
}, | |
{ | |
"background": "#FF2740", | |
"foreground": "#460910", | |
"leading_diamond": "<transparent,#FF2740>\uE0B0</>", | |
"properties": { | |
"prefix": "<transparent> 🚧 </>" | |
}, | |
"style": "diamond", | |
"trailing_diamond": "\uE0B0", | |
"type": "exit" | |
} | |
] | |
}, | |
{ | |
"type": "rprompt", | |
"segments": [ | |
{ | |
"background": "#0C212F", | |
"foreground": "#5ffa68", | |
"leading_diamond": "\uE0B6", | |
"properties": { | |
"time_format": "15:04" | |
}, | |
"style": "diamond", | |
"trailing_diamond": "\uE0B0", | |
"type": "time" | |
}, | |
{ | |
"background": "#5ffa68", | |
"foreground": "#0C212F", | |
"leading_diamond": "<transparent,#5ffa68>\uE0B0</>", | |
"properties": { | |
"postfix": "s ", | |
"style": "dallas", | |
"threshold": 0 | |
}, | |
"style": "diamond", | |
"trailing_diamond": "\uE0B4", | |
"type": "executiontime" | |
} | |
] | |
}, | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"newline": true, | |
"segments": [ | |
{ | |
"type": "text", | |
"style": "plain", | |
"foreground": "#5ffa68", | |
"properties": { | |
"prefix": "", | |
"postfix": "", | |
"text": "\u2514 " | |
} | |
}, | |
{ | |
"type": "text", | |
"style": "plain", | |
"foreground": "#5ffa68", | |
"properties": { | |
"prefix": "", | |
"postfix": "", | |
"text": "\uFB26" | |
} | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment