From f0da7607bca6646a1b9644274e19898ad50d9231 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Thu, 19 Sep 2024 14:17:21 +0300 Subject: feat: removed error status from ohmyposh theme --- .config/ohmyposh/tokyocat.omp.yml | 20 ++++++++++---------- .config/ohmyposh/tokyocat_laptop.omp.yml | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) (limited to '.config') diff --git a/.config/ohmyposh/tokyocat.omp.yml b/.config/ohmyposh/tokyocat.omp.yml index 1cbe502..e70fd05 100644 --- a/.config/ohmyposh/tokyocat.omp.yml +++ b/.config/ohmyposh/tokyocat.omp.yml @@ -32,16 +32,16 @@ blocks: branch_icon: " " commit_icon: "@" - - type: status - style: diamond - foreground: "p:white" - background: "p:cyan" - background_templates: - - "{{ if .Error }}p:red2{{ end }}" - trailing_diamond:  - template: "  " - properties: - always_enabled: false + # - type: status + # style: diamond + # foreground: "p:white" + # background: "p:cyan" + # background_templates: + # - "{{ if .Error }}p:red2{{ end }}" + # trailing_diamond:  + # template: "  " + # properties: + # always_enabled: false - type: rprompt overflow: hidden diff --git a/.config/ohmyposh/tokyocat_laptop.omp.yml b/.config/ohmyposh/tokyocat_laptop.omp.yml index f0644e6..d9528aa 100644 --- a/.config/ohmyposh/tokyocat_laptop.omp.yml +++ b/.config/ohmyposh/tokyocat_laptop.omp.yml @@ -38,16 +38,16 @@ blocks: - '{{ if and (not .Error) (and (ge .Percentage 10) (lt .Percentage 20)) }} 󰁺 {{ .Percentage }} {{ end }}' - '{{ if and (not .Error) (and (ge .Percentage 0) (lt .Percentage 10) }} 󰂎{{ .Percentage }} {{ end }}' - - type: status - style: diamond - foreground: "p:white" - background: "p:cyan" - background_templates: - - "{{ if .Error }}p:red2{{ end }}" - trailing_diamond:  - template: "  " - properties: - always_enabled: false + # - type: status + # style: diamond + # foreground: "p:white" + # background: "p:cyan" + # background_templates: + # - "{{ if .Error }}p:red2{{ end }}" + # trailing_diamond:  + # template: "  " + # properties: + # always_enabled: false - type: prompt alignment: left -- cgit v1.3.1