Skip to content

Instantly share code, notes, and snippets.

@brucevanhorn2
Created November 9, 2021 19:54
Show Gist options
  • Save brucevanhorn2/3f1973f2d36fd903d7efc45fb6987462 to your computer and use it in GitHub Desktop.
Save brucevanhorn2/3f1973f2d36fd903d7efc45fb6987462 to your computer and use it in GitHub Desktop.
This is my version of the MT theme for Oh My Posh (gives you a fancy terminal window)
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"final_space": true,
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "shell",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#0077c2",
"properties": {
"mapped_shell_names": {
"pwsh": "PS"
}
}
},
{
"type": "path",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#000000",
"background": "#FFFF00",
"properties": {
"style": "folder"
}
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#4E44FF",
"properties": {
"display_stash_count": true,
"display_upstream_icon": true,
"status_colors_enabled": false,
"branch_icon": "",
"display_status": false,
"prefix": " \u279C (",
"postfix": ") "
}
},
{
"type": "node",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#4e903d",
"properties": {
"prefix": " \uE718 "
}
},
{
"type": "python",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#111111",
"background": "#16C60C",
"properties": {
"prefix": " \uE235 ",
"display_version": true,
"display_mode": "files",
"display_virtual_env": false
}
},
{
"type": "az",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#000000",
"background": "#9ec3f0",
"properties": {
"display_id": true,
"display_name": true,
"info_separator": " @ ",
"prefix": " \uFD03 "
}
},
{
"type": "dotnet",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#000000",
"background": "#00ffff",
"properties": {
"prefix": " \uE77F "
}
},
{
"type": "battery",
"style": "powerline",
"invert_powerline": false,
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#f36943",
"properties": {
"battery_icon": "",
"discharging_icon": " ",
"charging_icon": " ",
"charged_icon": " ",
"color_background": true,
"charged_color": "#4caf50",
"charging_color": "#40c4ff",
"discharging_color": "#ff5722",
"postfix": " "
}
},
{
"type": "time",
"style": "diamond",
"trailing_diamond": "\uE0B0",
"foreground": "#ffffff",
"background": "#16C60C",
"properties": {
"prefix": " \u2665 ",
"time_format": "15:04"
}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment