From 67e836be272562e603aa1d2fab26f3f599b2904b Mon Sep 17 00:00:00 2001 From: BrunoCiccarino Date: Fri, 3 Jan 2025 16:15:51 -0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Adding=20extras/ohmyposh=20theme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + extras/ohmyposh/nekonight.omp.json | 50 ++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 extras/ohmyposh/nekonight.omp.json diff --git a/README.md b/README.md index c78abaf..09ea6e9 100644 --- a/README.md +++ b/README.md @@ -336,6 +336,7 @@ Looking for a theme that fits your vibe? Whether you're into dark mode, light mo | [GNOME Terminal](https://gitlab.gnome.org/GNOME/gnome-terminal) | [extras/gnome_terminal](extras/gnome_terminal) | | [Helix](https://helix-editor.com/) | [extras/helix](extras/helix) | | [iTerm](https://iterm2.com/) | [extras/iterm](extras/iterm) | +| [oh-my-posh](https://ohmyposh.dev/) | [extras/ohmyposh](extras/ohmyposh) | | [Kitty](https://sw.kovidgoyal.net/kitty/conf.html) | [extras/kitty](extras/kitty) | | [Lazygit](https://github.com/jesseduffield/lazygit) | [extras/lazygit](extras/lazygit) | | [Lua Table for testing](https://www.lua.org) | [extras/lua](extras/lua) | diff --git a/extras/ohmyposh/nekonight.omp.json b/extras/ohmyposh/nekonight.omp.json new file mode 100644 index 0000000..11ffba3 --- /dev/null +++ b/extras/ohmyposh/nekonight.omp.json @@ -0,0 +1,50 @@ +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "alignment": "left", + "segments": [ + { + "background": "#2ac3de", + "foreground": "#ffffff", + "leading_diamond": "\ue0b6", + "style": "diamond", + "template": " {{ .UserName }}@{{ .HostName }} ", + "trailing_diamond": "\ue0b0", + "type": "session" + }, + { + "background": "#262835", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "style": "full" + }, + "style": "powerline", + "template": " {{ .Path }} ", + "type": "path" + }, + { + "background": "#C3E88D", + "foreground": "#193549", + "powerline_symbol": "\ue0b0", + "style": "powerline", + "template": " {{ .HEAD }} ", + "type": "git" + }, + { + "background": "#C792EA", + "foreground": "#ffffff", + "leading_diamond": "\ue0b0", + "style": "diamond", + "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ", + "trailing_diamond": "\ue0b4", + "type": "python" + } + ], + "type": "prompt" + } + ], + "final_space": true, + "version": 2 +}