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"
},
"var": {
"sep": "<#ffffff>・</>"
"sep": "・"
},
"blocks": [
{
@@ -23,19 +23,19 @@
{
"foreground_templates": ["{{if .SSHSession }}p:violet{{else}}p:green{{ end }}"],
"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"
},{
"foreground": "p:orange",
"style": "diamond",
"template": "{{.Var.sep}}{{.SHLVL}}/{{.PromptCount}}",
"template": "<#ffffff>{{.Var.sep}}</>{{.SHLVL}}/{{.PromptCount}}",
"type": "session"
},
{
"foreground_templates": ["{{if .Root }}p:red{{else}}p:green{{ end }}"],
"leading_diamond": "",
"style": "diamond",
"template": "{{.Var.sep}}{{.UserName}}",
"template": "<#ffffff>{{.Var.sep}}</>{{.UserName}}",
"type": "session"
},
@@ -44,7 +44,7 @@
"foreground_templates": ["{{ if gt .Code 0 }}p:red{{ end }}"],
"leading_diamond": "",
"style": "diamond",
"template": "{{.Var.sep}}{{.Code}}",
"template": "<#ffffff>{{.Var.sep}}</>{{.Code}}",
"type": "session"
},
{
@@ -57,7 +57,7 @@
"fetch_worktree_count": true
},
"style": "diamond",
"template": "{{.Var.sep}}{{ .HEAD }} {{ .StashCount }}",
"template": "<#ffffff>{{.Var.sep}}</>{{ .HEAD }} {{ .StashCount }}",
"trailing_diamond": "",
"type": "git"
},
@@ -65,7 +65,7 @@
"type": "go",
"style": "plain",
"foreground": "p:blue",
"template": "{{.Var.sep}}GO {{ .Full }} "
"template": "<#ffffff>{{.Var.sep}}</>GO {{ .Full }} "
}
],
"type": "prompt"
@@ -79,13 +79,13 @@
"time_format": "Mon, 15:04"
},
"style": "diamond",
"template": "{{ .CurrentDate | date .Format }}{{.Var.sep}}",
"template": "{{ .CurrentDate | date .Format }}<#ffffff>{{.Var.sep}}</>",
"type": "time"
},
{
"foreground": "#94ffa2",
"style": "diamond",
"template": "{{ round .PhysicalPercentUsed .Precision }}%{{.Var.sep}}{{ round .Load15 .Precision }}",
"template": "{{ round .PhysicalPercentUsed .Precision }}%<#ffffff>{{.Var.sep}}</>{{ round .Load15 .Precision }}",
"properties": {
"precision": 1
},
@@ -101,7 +101,7 @@
"{{ if lt .Percentage 50 }}p:yellow{{ end }}",
"p:blue"
],
"template": "{{if not .Error}}{{.Var.sep}}{{.Percentage}}%{{end}} "
"template": "{{if not .Error}}<#ffffff>{{.Var.sep}}</>{{.Percentage}}%{{end}} "
}
],