Compare commits

..
1 Commits
Author SHA1 Message Date
mike 1d295a72a9 [mike@mwxm4] 2026-09-17 15:47:15 +02:00
+10 -10
View File
@@ -13,7 +13,7 @@
"darker": "#444455" "darker": "#444455"
}, },
"var": { "var": {
"sep": "<#ffffff>・</>" "sep": "・"
}, },
"blocks": [ "blocks": [
{ {
@@ -23,19 +23,19 @@
{ {
"foreground_templates": ["{{if .SSHSession }}p:violet{{else}}p:green{{ end }}"], "foreground_templates": ["{{if .SSHSession }}p:violet{{else}}p:green{{ end }}"],
"style": "diamond", "style": "diamond",
"template": "<b>{{.HostName}}</b>{{.Var.sep}}{{.OS}}{{.Var.sep}}{{.Shell}}", "template": "<b>{{.HostName}}</b><#ffffff>{{.Var.sep}}</>{{.OS}}<#ffffff>{{.Var.sep}}</>{{.Shell}}",
"type": "session" "type": "session"
},{ },{
"foreground": "p:orange", "foreground": "p:orange",
"style": "diamond", "style": "diamond",
"template": "{{.Var.sep}}{{.SHLVL}}/{{.PromptCount}}", "template": "<#ffffff>{{.Var.sep}}</>{{.SHLVL}}/{{.PromptCount}}",
"type": "session" "type": "session"
}, },
{ {
"foreground_templates": ["{{if .Root }}p:red{{else}}p:green{{ end }}"], "foreground_templates": ["{{if .Root }}p:red{{else}}p:green{{ end }}"],
"leading_diamond": "", "leading_diamond": "",
"style": "diamond", "style": "diamond",
"template": "{{.Var.sep}}{{.UserName}}", "template": "<#ffffff>{{.Var.sep}}</>{{.UserName}}",
"type": "session" "type": "session"
}, },
@@ -44,7 +44,7 @@
"foreground_templates": ["{{ if gt .Code 0 }}p:red{{ end }}"], "foreground_templates": ["{{ if gt .Code 0 }}p:red{{ end }}"],
"leading_diamond": "", "leading_diamond": "",
"style": "diamond", "style": "diamond",
"template": "{{.Var.sep}}{{.Code}}", "template": "<#ffffff>{{.Var.sep}}</>{{.Code}}",
"type": "session" "type": "session"
}, },
{ {
@@ -57,7 +57,7 @@
"fetch_worktree_count": true "fetch_worktree_count": true
}, },
"style": "diamond", "style": "diamond",
"template": "{{.Var.sep}}{{ .HEAD }} {{ .StashCount }}", "template": "<#ffffff>{{.Var.sep}}</>{{ .HEAD }} {{ .StashCount }}",
"trailing_diamond": "", "trailing_diamond": "",
"type": "git" "type": "git"
}, },
@@ -65,7 +65,7 @@
"type": "go", "type": "go",
"style": "plain", "style": "plain",
"foreground": "p:blue", "foreground": "p:blue",
"template": "{{.Var.sep}}GO {{ .Full }} " "template": "<#ffffff>{{.Var.sep}}</>GO {{ .Full }} "
} }
], ],
"type": "prompt" "type": "prompt"
@@ -79,13 +79,13 @@
"time_format": "Mon, 15:04" "time_format": "Mon, 15:04"
}, },
"style": "diamond", "style": "diamond",
"template": "{{ .CurrentDate | date .Format }}{{.Var.sep}}", "template": "{{ .CurrentDate | date .Format }}<#ffffff>{{.Var.sep}}</>",
"type": "time" "type": "time"
}, },
{ {
"foreground": "#94ffa2", "foreground": "#94ffa2",
"style": "diamond", "style": "diamond",
"template": "{{ round .PhysicalPercentUsed .Precision }}%{{.Var.sep}}{{ round .Load15 .Precision }}", "template": "{{ round .PhysicalPercentUsed .Precision }}%<#ffffff>{{.Var.sep}}</>{{ round .Load15 .Precision }}",
"properties": { "properties": {
"precision": 1 "precision": 1
}, },
@@ -101,7 +101,7 @@
"{{ if lt .Percentage 50 }}p:yellow{{ end }}", "{{ if lt .Percentage 50 }}p:yellow{{ end }}",
"p:blue" "p:blue"
], ],
"template": "{{if not .Error}}{{.Var.sep}}{{.Percentage}}%{{end}} " "template": "{{if not .Error}}<#ffffff>{{.Var.sep}}</>{{.Percentage}}%{{end}} "
} }
], ],