Skip to content

Instantly share code, notes, and snippets.

@theshubhagrwl
Created November 12, 2021 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theshubhagrwl/959de52b0a1f695ad0085694d05e6795 to your computer and use it in GitHub Desktop.
Save theshubhagrwl/959de52b0a1f695ad0085694d05e6795 to your computer and use it in GitHub Desktop.
Update oh-my-posh custom theme
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#c386f1",
"foreground": "#ffffff",
"properties": {
"display_host": true,
"display_user": false,
".Root": false
},
"style": "powerline",
"trailing_diamond": "",
"type": "session"
},
{
"background": "#0077c2",
"foreground": "#ffffff",
"powerline_symbol": "",
"properties": {
"folder_separator_icon": "  ",
"home_icon": "~",
"prefix": "  ",
"style": "folder"
},
"style": "powerline",
"type": "path"
},
{
"background": "#fffb38",
"foreground": "#193549",
"powerline_symbol": "",
"properties": {
"ahead_and_behind_color": "#f26d50",
"ahead_color": "#89d1dc",
"behind_color": "#f17c37",
"display_stash_count": true,
"display_upstream_icon": true,
"local_changes_color": "#ff9248",
"stash_count_icon": " ",
"status_colors_enabled": true
},
"style": "powerline",
"type": "git"
},
{
"background": "#2e9599",
"foreground": "#ffffff",
"powerline_symbol": "",
"properties": {
"always_enabled": true,
"color_background": true,
"display_exit_code": false,
"error_color": "#f1184c",
"success_icon": "💪",
"error_icon": "🤔"
},
"style": "powerline",
"type": "exit"
},
{
"background": "#6CA35E",
"foreground": "#ffffff",
"powerline_symbol": "",
"properties": {
"display_version": false,
"prefix": " "
},
"style": "powerline",
"type": "node"
},
{
"background": "#8ED1F7",
"foreground": "#111111",
"powerline_symbol": "",
"properties": {
"display_version": true,
"prefix": "  "
},
"style": "powerline",
"type": "go"
},
{
"background": "#4063D8",
"foreground": "#111111",
"powerline_symbol": "",
"properties": {
"display_version": true,
"prefix": "  "
},
"style": "powerline",
"type": "julia"
},
{
"background": "#FFDE57",
"foreground": "#111111",
"powerline_symbol": "",
"properties": {
"display_mode": "files",
"display_version": false,
"display_virtual_env": true,
"prefix": "  "
},
"style": "powerline",
"type": "python"
},
{
"background": "#AE1401",
"foreground": "#ffffff",
"powerline_symbol": "",
"properties": {
"display_mode": "files",
"display_version": true,
"prefix": "  "
},
"style": "powerline",
"type": "ruby"
},
{
"background": "#FEAC19",
"foreground": "#ffffff",
"powerline_symbol": "",
"properties": {
"display_mode": "files",
"display_version": false,
"prefix": " "
},
"style": "powerline",
"type": "azfunc"
},
{
"background_templates": [
"{{if contains \"default\" .Profile}}#FFA400{{end}}",
"{{if contains \"jan\" .Profile}}#f1184c{{end}}"
],
"foreground": "#ffffff",
"powerline_symbol": "",
"properties": {
"display_default": false,
"prefix": "  "
},
"style": "powerline",
"type": "aws"
},
{
"background": "#ffff66",
"foreground": "#111111",
"powerline_symbol": "",
"properties": {
"root_icon": "👻"
},
"style": "powerline",
"type": "root"
}
],
"type": "prompt"
},
{
"segments": [
{
"background": "#1BD760",
"foreground": "#111111",
"invert_powerline": true,
"powerline_symbol": "",
"properties": {
"api_url": "http://127.0.0.1:9863",
"paused_icon": " ",
"playing_icon": " ",
"prefix": "  "
},
"style": "powerline",
"type": "ytm"
}
],
"type": "rprompt"
}
],
"console_title": true,
"console_title_style": "template",
"console_title_template": "{{ .Folder }}",
"final_space": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment