From fb203eba517b51b0ecda9adc654a45a33b18388b Mon Sep 17 00:00:00 2001 From: Richard Hooper Date: Mon, 12 Apr 2021 10:31:01 +0100 Subject: [PATCH] feat(themes): adding pixelrobots theme --- src/segment_golang_test.go | 0 src/segment_java_test.go | 0 src/segment_ruby_test.go | 0 themes/pixelrobots.omp.json | 170 ++++++++++++++++++++++++++++++++++++ 4 files changed, 170 insertions(+) mode change 100755 => 100644 src/segment_golang_test.go mode change 100755 => 100644 src/segment_java_test.go mode change 100755 => 100644 src/segment_ruby_test.go create mode 100644 themes/pixelrobots.omp.json diff --git a/src/segment_golang_test.go b/src/segment_golang_test.go old mode 100755 new mode 100644 diff --git a/src/segment_java_test.go b/src/segment_java_test.go old mode 100755 new mode 100644 diff --git a/src/segment_ruby_test.go b/src/segment_ruby_test.go old mode 100755 new mode 100644 diff --git a/themes/pixelrobots.omp.json b/themes/pixelrobots.omp.json new file mode 100644 index 000000000000..823e47a2e389 --- /dev/null +++ b/themes/pixelrobots.omp.json @@ -0,0 +1,170 @@ +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "final_space": true, + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}", + "blocks": [ + { + "type": "prompt", + "alignment": "left", + "segments": [ + { + "type": "text", + "style": "diamond", + "leading_diamond": "\ue0c7\u2593", + "foreground": "#000000", + "background": "#ffea00", + "properties": { + "text": "", + "postfix": "", + "prefix": "" + } + }, + { + "type": "kubectl", + "style": "powerline", + "powerline_symbol": "", + "foreground": "#000000", + "background": "#ffea00", + "properties": { + "prefix": " \uFD31", + "template": " {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}" + } + }, + { + "type": "az", + "style": "powerline", + "powerline_symbol": "\uE0B0", + "foreground": "#000000", + "background": "#008AD7", + "properties": { + "display_id": false, + "display_name": true, + "info_separator": " @ ", + "prefix": " \uFD03 " + } + } + ] + }, + { + "type": "newline" + }, + { + "type": "prompt", + "alignment": "left", + "segments": [ + { + "type": "os", + "style": "diamond", + "leading_diamond": "\ue0c7\u2593", + "foreground": "#26C6DA", + "background": "#2f2f2f", + "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", + "postfix": "<#ffea00> \ue0b1" + } + }, + { + "type": "session", + "style": "diamond", + "foreground": "#ffea00", + "background": "#2f2f2f", + "properties": { + "display_host": false, + "user_info_separator": "<#ffea00 >\uf1fa", + "display_default": false, + "user_color": "#ffea00", + "host_color": "#2EEFBF", + "postfix": "<#ffea00> \ue0b1" + } + }, + { + "type": "root", + "style": "diamond", + "foreground": "#ffea00", + "background": "#2f2f2f", + "properties": { + "root_icon": "\uF0E7", + "postfix": "<#ffea00> \ue0b1" + } + }, + { + "type": "path", + "style": "diamond", + "foreground": "#fafafa", + "background": "#2f2f2f", + "properties": { + "prefix": "<#f2f200> \ue5ff ", + "style": "agnoster_short", + "enable_hyperlink": true, + "home_icon": "\uF7DB ", + "folder_icon": "<#B5B2C2>\ue5fe ", + "folder_separator_icon": "<#ffea00>\uE0B1 " + } + }, + { + "type": "git", + "style": "diamond", + "foreground": "#ffea00", + "background": "#2f2f2f", + "properties": { + "display_stash_count": true, + "display_upstream_icon": true, + "display_status": true, + "status_colors_enabled": true, + "color_background": false, + "local_changes_color": "#ffea00", + "working_color": "#E84855", + "staging_color": "#2FDA4E", + "ahead_color": "#2EC4B6", + "behind_color": "#8A4FFF", + "prefix": "<#ffea00>\ue0b1 " + } + }, + { + "type": "text", + "style": "diamond", + "trailing_diamond": "\ue0b0", + "foreground": "#fafafa", + "background": "#2f2f2f", + "properties": { + "text": "", + "postfix": "", + "prefix": "" + } + } + ] + }, + { + "type": "prompt", + "alignment": "left", + "segments": [ + { + "type": "text", + "style": "plain", + "foreground": "#ffea00", + "properties": { + "text": "\u276F" + } + } + ] + } + ] +} \ No newline at end of file