Skip to content

Instantly share code, notes, and snippets.

@tonesandtones
Last active July 23, 2021 02:43
Show Gist options
  • Save tonesandtones/b36014e9e2ae3610d0fa859c00f70f1b to your computer and use it in GitHub Desktop.
Save tonesandtones/b36014e9e2ae3610d0fa859c00f70f1b to your computer and use it in GitHub Desktop.
Oh-My-Posh iterm2 config - Tones variant
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"type": "shell",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"background": "#003543",
"foreground": "#d2ff5e",
"properties": {
"postfix": " on"
}
},
{
"type": "os",
"style": "powerline",
"background": "#003543",
"foreground": "#d2ff5e",
"properties": {
"alpine": "\uf300",
"arch": "\uf303",
"centos": "\uf304",
"debian": "\uf306",
"elementary": "\uf309",
"fedora": "\uf30a",
"gentoo": "\uf30d",
"linux": "\ue712",
"macos": "\ue711",
"manjaro": "\uf312",
"mint": "\uf30f",
"opensuse": "\uf314",
"raspbian": "\uf315",
"ubuntu": "\uf31c",
"wsl": "\ue712",
"wsl_separator": " on ",
"windows": "\ue70f"
}
},
{
"background": "#003543",
"foreground": "#d2ff5e",
"powerline_symbol": "",
"properties": {
"display_host": false,
"postfix": " ",
"prefix": ""
},
"style": "powerline",
"type": "session"
},
{
"background": "#0087D8",
"foreground": "#003544",
"powerline_symbol": "",
"properties": {
"folder_separator_icon": "/",
"prefix": "  ",
"style": "full"
},
"style": "powerline",
"type": "path"
},
{
"background": "#d2ff5e",
"foreground": "#193549",
"powerline_symbol": "",
"properties": {
"ahead_and_behind_color": "#f26d50",
"ahead_color": "#89d1dc",
"behind_color": "#f17c37",
"display_stash_count": true,
"display_status": true,
"display_upstream_icon": true,
"local_changes_color": "#ff9248",
"stash_count_icon": " ",
"status_colors_enabled": true
},
"style": "powerline",
"type": "git"
},
{
"background": "#33DD2D",
"foreground": "#242424",
"powerline_symbol": "",
"properties": {
"always_enabled": true,
"color_background": true,
"display_exit_code": false,
"error_color": "#f1184c",
"prefix": " ﲍ"
},
"style": "powerline",
"type": "exit"
}
],
"type": "prompt",
"vertical_offset": 1
},
{
"alignment": "right",
"segments": [
{
"background": "#f36943",
"foreground": "#242424",
"invert_powerline": true,
"powerline_symbol": "",
"properties": {
"charged_color": "#b6d3e9",
"charging_color": "#33DD2D",
"color_background": true,
"discharging_color": "#FFCD58",
"postfix": "  "
},
"style": "powerline",
"type": "battery"
},
{
"background": "#0087D8",
"foreground": "#003544",
"invert_powerline": true,
"powerline_symbol": "",
"properties": {
"display_mode": "context",
"display_version": false,
"display_virtual_env": true,
"prefix": "  "
},
"style": "powerline",
"type": "python"
},
{
"background": "#003543",
"foreground": "#fff",
"invert_powerline": true,
"powerline_symbol": "",
"properties": {
"prefix": "<#fff>  </>"
},
"style": "powerline",
"type": "time"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#FFD700",
"properties": {
"root_icon": "⚡"
},
"style": "plain",
"type": "root"
},
{
"foreground": "#f1184c",
"properties": {
"prefix": "",
"text": "$"
},
"style": "plain",
"type": "text"
}
],
"type": "prompt"
}
],
"console_title": true,
"console_title_style": "template",
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
"final_space": true
}
@tonesandtones
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment