added hostname

This commit is contained in:
venus
2026-05-18 21:56:27 -05:00
parent 9de9b5d1e7
commit 8b360c8f7b
4 changed files with 187 additions and 167 deletions

View File

@@ -76,6 +76,12 @@
"style": "diamond",
"template": " <#ffffff>MEM:</> {{ round .PhysicalPercentUsed .Precision }}% ({{ (div ((sub .PhysicalTotalMemory .PhysicalAvailableMemory)|float64) 1073741824.0) }}/{{ (div .PhysicalTotalMemory 1073741824.0) }}GB)",
"type": "sysinfo"
},
{
"foreground": "#ffbebc",
"style": "diamond",
"template": " {{ .HostName }}",
"type": "session"
}
],
"type": "prompt"