fix: updated some config

This commit is contained in:
oxypomme
2026-06-15 11:16:13 +02:00
parent 9dc7c5f053
commit 91d3325128
3 changed files with 72 additions and 67 deletions

View File

@@ -11,9 +11,6 @@
"alignment": "left",
"segments": [
{
"properties": {
"cache_duration": "none"
},
"trailing_diamond": "\ue0b0",
"template": " {{.Icon}} ",
"foreground": "#FFF",
@@ -22,8 +19,7 @@
"style": "diamond"
},
{
"properties": {
"cache_duration": "none",
"options": {
"style": "full"
},
"trailing_diamond": "\ue0b0",
@@ -40,8 +36,7 @@
"alignment": "right",
"segments": [
{
"properties": {
"cache_duration": "none",
"options": {
"time_format": "15:03"
},
"leading_diamond": "\ue0b2",
@@ -58,17 +53,20 @@
"alignment": "left",
"segments": [
{
"properties": {
"always_enabled": true,
"cache_duration": "none"
"type": "shell",
"style": "diamond",
"trailing_diamond": "\ue0b0",
"foreground": "#597E7E"
},
{
"options": {
"always_enabled": true
},
"template": " ",
"foreground": "#5ACA00",
"type": "status",
"style": "plain",
"foreground_templates": [
"{{ if gt .Code 0 }}#FF5252{{ end }}"
]
"foreground_templates": ["{{ if gt .Code 0 }}#FF5252{{ end }}"]
}
],
"newline": true
@@ -78,7 +76,7 @@
"alignment": "right",
"segments": [
{
"properties": {
"options": {
"fetch_package_manager": true,
"pnpm_icon": "",
"yarn_icon": "",
@@ -87,15 +85,13 @@
"leading_diamond": "\ue0b2",
"template": " 󰎙 {{ .Full }} {{if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ else }}{{ if .PackageManagerName }}({{ .PackageManagerName }}){{ end }}{{ end }}",
"foreground": "#4D9D0F",
"foreground_templates": [
"{{ if .Mismatch }}#FFEB3B{{ end }}"
],
"foreground_templates": ["{{ if .Mismatch }}#FFEB3B{{ end }}"],
"background": "236",
"type": "node",
"style": "diamond"
},
{
"properties": {
"options": {
"fetch_status": true,
"source": "cli",
"mapped_branches": {