diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-09-19 14:22:11 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-09-19 14:22:11 +0300 |
| commit | 36709fb324d53394cab6881855d7cb09106c4d60 (patch) | |
| tree | 6e0b753bcedbf1dc2b4be0cc775091abeba6f23b /.config/ohmyposh | |
| parent | ed09a0c324d8d67d73e75d91a59db50ff9566e07 (diff) | |
feat: only showing battery level if it's between 0-20% or 80-100%
Diffstat (limited to '.config/ohmyposh')
| -rw-r--r-- | .config/ohmyposh/tokyocat_laptop.omp.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.config/ohmyposh/tokyocat_laptop.omp.yml b/.config/ohmyposh/tokyocat_laptop.omp.yml index d9528aa..cec4b5e 100644 --- a/.config/ohmyposh/tokyocat_laptop.omp.yml +++ b/.config/ohmyposh/tokyocat_laptop.omp.yml @@ -29,11 +29,11 @@ blocks: - '{{ if and (not .Error) (eq .Percentage 100) }} {{ .Percentage }} {{ end }}' - '{{ if and (not .Error) (and (ge .Percentage 90) (ne .Percentage 100)) }} {{ .Percentage }} {{ end }}' - '{{ if and (not .Error) (and (ge .Percentage 80) (lt .Percentage 90)) }} {{ .Percentage }} {{ end }}' - - '{{ if and (not .Error) (and (ge .Percentage 70) (lt .Percentage 80)) }} {{ .Percentage }} {{ end }}' - - '{{ if and (not .Error) (and (ge .Percentage 60) (lt .Percentage 70)) }} {{ .Percentage }} {{ end }}' - - '{{ if and (not .Error) (and (ge .Percentage 50) (lt .Percentage 60)) }} {{ .Percentage }} {{ end }}' - - '{{ if and (not .Error) (and (ge .Percentage 40) (lt .Percentage 50)) }} {{ .Percentage }} {{ end }}' - - '{{ if and (not .Error) (and (ge .Percentage 30) (lt .Percentage 40)) }} {{ .Percentage }} {{ end }}' + # - '{{ if and (not .Error) (and (ge .Percentage 70) (lt .Percentage 80)) }} {{ .Percentage }} {{ end }}' + # - '{{ if and (not .Error) (and (ge .Percentage 60) (lt .Percentage 70)) }} {{ .Percentage }} {{ end }}' + # - '{{ if and (not .Error) (and (ge .Percentage 50) (lt .Percentage 60)) }} {{ .Percentage }} {{ end }}' + # - '{{ if and (not .Error) (and (ge .Percentage 40) (lt .Percentage 50)) }} {{ .Percentage }} {{ end }}' + # - '{{ if and (not .Error) (and (ge .Percentage 30) (lt .Percentage 40)) }} {{ .Percentage }} {{ end }}' - '{{ if and (not .Error) (and (ge .Percentage 20) (lt .Percentage 30)) }} {{ .Percentage }} {{ end }}' - '{{ 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 }}' |
