Skip to content

Instantly share code, notes, and snippets.

@sanisoclem
Created July 5, 2021 01:39
Show Gist options
  • Save sanisoclem/7109a04affc429a2357786192f0faddb to your computer and use it in GitHub Desktop.
Save sanisoclem/7109a04affc429a2357786192f0faddb to your computer and use it in GitHub Desktop.
OMP Theme
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#546E7A",
"foreground": "#26C6DA",
"leading_diamond": "",
"properties": {
"macos": "mac",
"postfix": " "
},
"style": "diamond",
"trailing_diamond": "",
"type": "os"
},
{
"background": "#546E7A",
"foreground": "#26C6DA",
"powerline_symbol": "",
"style": "powerline",
"type": "session"
},
{
"background": "#a2beef",
"foreground": "#193549",
"powerline_symbol": "",
"properties": {
"battery_icon": "\f583",
"charged_color": "#0476d0",
"charging_color": "#00D100",
"color_background": true,
"discharging_color": "#FFCD58",
"postfix": "  "
},
"style": "powerline",
"type": "battery"
},
{
"background": "#14c2dd",
"foreground": "#193549",
"powerline_symbol": "",
"properties": {
"enable_hyperlink": true,
"folder_icon": "",
"folder_separator_icon": "  ",
"home_icon": "",
"style": "agnoster_short"
},
"style": "powerline",
"type": "path"
},
{
"background": "#a2c4e0",
"foreground": "#193549",
"powerline_symbol": "",
"properties": {
"display_stash_count": true,
"display_upstream_icon": true
},
"style": "powerline",
"type": "git"
},
{
"background": "#6CA35E",
"foreground": "#ffffff",
"powerline_symbol": "",
"properties": {
"prefix": "  "
},
"style": "powerline",
"type": "node"
},
{
"background": "#ffff66",
"foreground": "#193549",
"powerline_symbol": "",
"style": "powerline",
"type": "root"
},
{
"background": "#0077c2",
"foreground": "#ffffff",
"powerline_symbol": "",
"properties": {
"prefix": " ﴱ ",
"template": "{{.Context}} :: {{if .Namespace}}{{.Namespace}}{{else}}default{{end}}"
},
"style": "powerline",
"type": "kubectl"
},
{
"background": "#007800",
"foreground": "#ffffff",
"leading_diamond": "<transparent, #007800></>",
"properties": {
"always_enabled": true,
"color_background": true,
"display_exit_code": false,
"error_color": "#f1184c",
"prefix": " ﲍ"
},
"style": "diamond",
"trailing_diamond": "",
"type": "exit"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"background": "#2f2f2f",
"foreground": "#fafafa",
"leading_diamond": "",
"properties": {
"postfix": "",
"prefix": "",
"text": ""
},
"style": "diamond",
"type": "text"
},
{
"background": "#2f2f2f",
"foreground": "#6CA35E",
"properties": {
"postfix": "<#7a7a7a> </>",
"prefix": "  "
},
"style": "diamond",
"type": "node"
},
{
"background": "#2f2f2f",
"foreground": "#96E072",
"properties": {
"postfix": "<#7a7a7a> </>",
"prefix": "  "
},
"style": "diamond",
"type": "python"
},
{
"background": "#2f2f2f",
"foreground": "#3891A6",
"properties": {
"postfix": "<#7a7a7a> </>",
"prefix": "  "
},
"style": "diamond",
"type": "dotnet"
},
{
"background": "#2f2f2f",
"foreground": "#fafafa",
"properties": {
"postfix": "<#007ACC>  </>",
"time_format": "15:04:05"
},
"style": "diamond",
"trailing_diamond": "▓",
"type": "time"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#7a7a7a",
"properties": {
"postfix": "",
"prefix": "",
"text": "❯"
},
"style": "plain",
"type": "text"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"foreground": "#7a7a7a",
"properties": {
"text": "❮"
},
"style": "plain",
"type": "text"
},
{
"foreground": "#FFCE5C",
"properties": {
"postfix": "<#fafafa>  </>",
"style": "roundrock",
"threshold": 500
},
"style": "plain",
"type": "executiontime"
},
{
"foreground": "#9FD356",
"properties": {
"always_enabled": true,
"always_numeric": true,
"color_background": false,
"display_exit_code": true,
"error_color": "#E84855",
"prefix": "  "
},
"style": "plain",
"type": "exit"
}
],
"type": "rprompt"
}
],
"console_title": true,
"console_title_style": "template",
"console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}",
"final_space": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment