Skip to content

Instantly share code, notes, and snippets.

@JayMGurav
Created March 10, 2021 05:11
Show Gist options
  • Save JayMGurav/558b28910637f812d912e89c288c9206 to your computer and use it in GitHub Desktop.
Save JayMGurav/558b28910637f812d912e89c288c9206 to your computer and use it in GitHub Desktop.
My ohmyposh theme for powershell/windows terminal
{
"final_space": false,
"osc99": false,
"console_title": false,
"console_title_style": "",
"console_title_template": "",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
"segments": [
{
"type": "battery",
"style": "diamond",
"foreground": "#193549",
"background": "#ffeb3b",
"invert_powerline": false,
"leading_diamond": "\uE0B6",
"properties": {
"battery_icon":"πŸ”‹",
"charging_icon": "⚑",
"discharging_icon": "πŸ”»",
"color_background": true,
"charged_color": "#e1ffde",
"charging_color": "#defffb",
"discharging_color": "#ffc2c2",
"display_charging": true,
"postfix": "% "
}
},
{
"type": "time",
"style": "diamond",
"foreground": "#193549",
"background": "#d6c2ff",
"trailing_diamond": "\uE0B0",
"properties": {
"time_icon":"πŸ•",
"time_format": "15:04 PM"
}
},
{
"type": "root",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#111111",
"background": "#ffd1d5",
"properties": {
"root_icon": "⚑"
}
},
{
"type": "path",
"style": "powerline",
"powerline_symbol": "ξ‚°",
"invert_powerline": false,
"foreground": "#100e23",
"foreground_templates": null,
"background": "#91ddff",
"background_templates": null,
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"home_icon": "🏠",
"folder_icon": "πŸ“‚",
"folder_separator_icon": "πŸ“‚",
"style": "full"
}
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"invert_powerline": false,
"foreground": "#193549",
"foreground_templates": null,
"background": "#fffbe3",
"background_templates": null,
"leading_diamond": "",
"trailing_diamond": "",
"properties": null
},
{
"type": "python",
"style": "powerline",
"powerline_symbol": "ξ‚°",
"invert_powerline": false,
"foreground": "#100e23",
"foreground_templates": null,
"background": "#906cff",
"background_templates": null,
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"prefix": "  "
}
},
{
"type": "exit",
"style": "powerline",
"powerline_symbol": "ξ‚°",
"invert_powerline": false,
"foreground": "#ffffff",
"foreground_templates": null,
"background": "#ff8080",
"background_templates": null,
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"prefix": " "
}
}
]
},
{
"type": "newline",
"alignment": "",
"horizontal_offset": 0,
"vertical_offset": 0,
"segments": null
},
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
"segments": [
{
"type": "text",
"style": "plain",
"powerline_symbol": "",
"invert_powerline": false,
"foreground": "#ccc2ff",
"foreground_templates": null,
"background": "",
"background_templates": null,
"leading_diamond": "",
"trailing_diamond": "",
"properties": {
"prefix": "πŸ€–",
"text": "Β»"
}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment