From af628fb0e45f799cc79c1105eb10538879a6e747 Mon Sep 17 00:00:00 2001 From: uruz-7 Date: Tue, 4 May 2021 16:23:40 +0900 Subject: [PATCH] theme: update powerlevel10k_rainbow, blueish and marcduiker --- themes/blueish.omp.json | 154 ++++++++--------- themes/gmay.omp.json | 8 +- themes/marcduiker.omp.json | 5 +- themes/powerlevel10k_rainbow.omp.json | 234 ++++++++++++++++++++++++++ 4 files changed, 317 insertions(+), 84 deletions(-) create mode 100644 themes/powerlevel10k_rainbow.omp.json diff --git a/themes/blueish.omp.json b/themes/blueish.omp.json index 3adde2640633..7c09fecf07c8 100644 --- a/themes/blueish.omp.json +++ b/themes/blueish.omp.json @@ -2,126 +2,126 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", - "alignment": "left", - "segments": [ + "type": "prompt", + "alignment": "left", + "segments": [ { - "type": "os", - "style": "diamond", - "foreground": "#26C6DA", - "background": "#546E7A", - "properties": { + "type": "os", + "style": "diamond", + "foreground": "#26C6DA", + "background": "#546E7A", + "properties": { "postfix": " \uE0B1", "macos": "mac" - }, - "leading_diamond": "\uE0c5", - "trailing_diamond": "\uE0B0" + }, + "leading_diamond": "\uE0c5", + "trailing_diamond": "\uE0B0" }, { - "type": "session", - "style": "powerline", - "foreground": "#26C6DA", - "background": "#546E7A", - "powerline_symbol": "\uE0B0" + "type": "session", + "style": "powerline", + "foreground": "#26C6DA", + "background": "#546E7A", + "powerline_symbol": "\uE0B0" }, - { - "type": "battery", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", - "background": "#a2beef", - "properties": { + { + "type": "battery", + "style": "powerline", + "powerline_symbol": "\uE0B0", + "foreground": "#193549", + "background": "#a2beef", + "properties": { "battery_icon": "\f583", "color_background": true, "charged_color": "#0476d0", "charging_color": "#00D100", "discharging_color": "#FFCD58", "postfix": "\uF295 \uf583 " - } + } }, { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", - "background": "#14c2dd", - "properties": { + "type": "path", + "style": "powerline", + "powerline_symbol": "\uE0B0", + "foreground": "#193549", + "background": "#14c2dd", + "properties": { "prefix": " \uE5FF ", "style": "folder" - } + } }, { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", - "background": "#a2c4e0", - "properties": { + "type": "git", + "style": "powerline", + "powerline_symbol": "\uE0B0", + "foreground": "#193549", + "background": "#a2c4e0", + "properties": { "display_stash_count": true, "display_upstream_icon": true - } + } }, { - "type": "node", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", - "background": "#6CA35E", - "properties": { + "type": "node", + "style": "powerline", + "powerline_symbol": "\uE0B0", + "foreground": "#ffffff", + "background": "#6CA35E", + "properties": { "prefix": " \uE718 " - } + } }, { - "type": "root", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", - "background": "#ffff66" + "type": "root", + "style": "powerline", + "powerline_symbol": "\uE0B0", + "foreground": "#193549", + "background": "#ffff66" }, { - "type": "kubectl", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", - "background": "#0077c2", - "properties": { + "type": "kubectl", + "style": "powerline", + "powerline_symbol": "\uE0B0", + "foreground": "#ffffff", + "background": "#0077c2", + "properties": { "prefix": " \uFD31 ", "template": "{{.Context}} :: {{if .Namespace}}{{.Namespace}}{{else}}default{{end}}" - } + } }, { - "type": "exit", - "style": "diamond", - "foreground": "#ffffff", - "background": "#007800", - "leading_diamond": "", - "trailing_diamond": "\uE0b0", - "properties": { + "type": "exit", + "style": "diamond", + "foreground": "#ffffff", + "background": "#007800", + "leading_diamond": "\uE0B0", + "trailing_diamond": "\uE0b0", + "properties": { "display_exit_code": false, "always_enabled": true, "error_color": "#f1184c", "color_background": true, - "prefix": "\uE0B0 \ufc8d" - } + "prefix": " \ufc8d" + } } ] }, { - "type": "prompt", - "alignment": "left", - "newline": true, - "segments": [ + "type": "prompt", + "alignment": "left", + "newline": true, + "segments": [ { - "type": "text", - "style": "plain", - "foreground": "#007ACC", - "properties": { + "type": "text", + "style": "plain", + "foreground": "#007ACC", + "properties": { "prefix": "", "text": "\u279C" - } + } } - ] + ] } ], - "final_space": true + "final_space": true } diff --git a/themes/gmay.omp.json b/themes/gmay.omp.json index 01ea9abf0b6f..bc8193541424 100644 --- a/themes/gmay.omp.json +++ b/themes/gmay.omp.json @@ -33,8 +33,8 @@ "type": "time", "style": "powerline", "powerline_symbol": "\uE0B0", - "foreground":"#193549", - "background":"#4caf50", + "foreground": "#193549", + "background": "#4caf50", "properties": { "time_format": "2006-01-02 15:04:05", "prefix": "" @@ -74,14 +74,14 @@ "style": "diamond", "foreground": "#ffffff", "background": "#2e9599", - "leading_diamond": "", + "leading_diamond": "\uE0B0", "trailing_diamond": "\uE0B4", "properties": { "display_exit_code": false, "always_enabled": true, "error_color": "#f1184c", "color_background": true, - "prefix": "\uE0B0 \uFC0C" + "prefix": " \uFC0C" } } ] diff --git a/themes/marcduiker.omp.json b/themes/marcduiker.omp.json index 3f32c6e71f5e..a577d21a95af 100644 --- a/themes/marcduiker.omp.json +++ b/themes/marcduiker.omp.json @@ -6,7 +6,6 @@ "horizontal_offset": 0, "vertical_offset": 0, "segments": [ - { "background": "#feae34", "foreground": "#262b44", @@ -47,13 +46,13 @@ { "background": "#0095e9", "foreground": "#ffffff", - "leading_diamond": "", + "leading_diamond": "", "properties": { "always_enabled": true, "color_background": true, "display_exit_code": false, "error_color": "#ff0044", - "prefix": " " + "prefix": " " }, "style": "diamond", "trailing_diamond": "", diff --git a/themes/powerlevel10k_rainbow.omp.json b/themes/powerlevel10k_rainbow.omp.json new file mode 100644 index 000000000000..e1ad4a63b66e --- /dev/null +++ b/themes/powerlevel10k_rainbow.omp.json @@ -0,0 +1,234 @@ +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", + "blocks": [ + { + "type": "prompt", + "alignment": "left", + "newline": true, + "segments": [] + }, + { + "type": "prompt", + "alignment": "left", + "newline": true, + "segments": [ + { + "type": "os", + "style": "diamond", + "foreground": "#000000", + "background": "#d3d7cf", + "leading_diamond": "╭─" + }, + { + "type": "path", + "style": "powerline", + "powerline_symbol": "", + "foreground": "#e4e4e4", + "background": "#3465a4", + "properties": { + "prefix": " \uF07C ", + "home_icon": "~", + "style": "full" + } + }, + { + "type": "git", + "style": "powerline", + "powerline_symbol": "", + "foreground": "#000000", + "background": "#4e9a06", + "properties": { + "branch_icon": "\uF126 ", + "display_stash_count": true, + "display_upstream_icon": true, + "status_colors_enabled": true, + "local_changes_color": "#c4a000", + "ahead_and_behind_color": "#f26d50", + "behind_color": "#4e9a06", + "ahead_color": "#89d1dc", + "stash_count_icon": "\uF692 " + } + } + ] + }, + { + "type": "prompt", + "alignment": "right", + "segments": [ + { + "type": "node", + "style": "powerline", + "powerline_symbol": "", + "invert_powerline": true, + "foreground": "#ffffff", + "background": "#689f63", + "properties": { + "postfix": " \uF898 ", + "display_version": true + } + }, + { + "type": "go", + "style": "powerline", + "powerline_symbol": "", + "invert_powerline": true, + "foreground": "#111111", + "background": "#00acd7", + "properties": { + "postfix": " \uE627 ", + "display_version": true + } + }, + { + "type": "julia", + "style": "powerline", + "powerline_symbol": "", + "invert_powerline": true, + "foreground": "#111111", + "background": "#4063D8", + "properties": { + "postfix": " \uE624 ", + "display_version": true + } + }, + { + "type": "python", + "style": "powerline", + "powerline_symbol": "", + "invert_powerline": true, + "foreground": "#111111", + "background": "#FFDE57", + "properties": { + "postfix": " \uE235 ", + "display_version": true, + "display_mode": "files", + "display_virtual_env": false + } + }, + { + "type": "ruby", + "style": "powerline", + "powerline_symbol": "", + "invert_powerline": true, + "foreground": "#ffffff", + "background": "#AE1401", + "properties": { + "postfix": " \uE791 ", + "display_version": true, + "display_mode": "files" + } + }, + { + "type": "azfunc", + "style": "powerline", + "powerline_symbol": "", + "invert_powerline": true, + "foreground": "#ffffff", + "background": "#FEAC19", + "properties": { + "postfix": " \uf0e7", + "display_version": false, + "display_mode": "files" + } + }, + { + "type": "aws", + "style": "powerline", + "powerline_symbol": "", + "invert_powerline": true, + "foreground": "#ffffff", + "background_templates": [ + "{{if contains \"default\" .Profile}}#FFA400{{end}}", + "{{if contains \"jan\" .Profile}}#f1184c{{end}}" + ], + "properties": { + "postfix": " \uE7AD ", + "display_default": false + } + }, + { + "type": "root", + "style": "powerline", + "powerline_symbol": "", + "invert_powerline": true, + "foreground": "#111111", + "background": "#ffff66", + "properties": { + "root_icon": "\uF0AD" + } + }, + { + "type": "executiontime", + "style": "powerline", + "powerline_symbol": "", + "invert_powerline": true, + "foreground": "#000000", + "background": "#c4a000", + "properties": { + "postfix": " \uF252 " + } + }, + { + "type": "exit", + "style": "powerline", + "powerline_symbol": "", + "invert_powerline": true, + "foreground": "#d3d7cf", + "background": "#000000", + "properties": { + "always_enabled": true, + "display_exit_code": true, + "error_color": "#cc2222", + "color_background": true, + "success_icon": "✔" + } + }, + { + "type": "time", + "style": "diamond", + "invert_powerline": true, + "trailing_diamond": "─╮", + "background": "#d3d7cf", + "foreground": "#000000", + "properties": { + "postfix": " \uF017 " + } + } + ] + }, + { + "type": "prompt", + "alignment": "left", + "newline": true, + "segments": [ + { + "type": "text", + "style": "diamond", + "background": "#d3d7cf", + "trailing_diamond": "\b╰─", + "properties": { + "text": "\b" + } + } + ] + }, + { + "type": "rprompt", + "segments": [ + { + "type": "text", + "style": "diamond", + "background": "#d3d7cf", + "trailing_diamond": "─╯", + "properties": { + "text": "" + } + } + ] + } + ], + "final_space": true, + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{ .Shell }} in {{ .Folder }}" +}