Added swap % free to prompt
This commit is contained in:
parent
dfe6dfe212
commit
df97fb2614
|
@ -204,6 +204,21 @@
|
|||
"trailing_diamond": "\ue0b0\u2500\u256e",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"background": "#81ff91",
|
||||
"background_templates": [
|
||||
"{{ if gt .SwapPercentUsed 90.0 }}red{{ else if gt .SwapPercentUsed 75.0 }}lightRed{{ end }}"
|
||||
],
|
||||
"foreground": "#000000",
|
||||
"foreground_templates": [
|
||||
"{{ if gt .SwapPercentUsed 90.0 }}#d3d7cf{{ end }}"
|
||||
],
|
||||
"invert_powerline": true,
|
||||
"style": "powerline",
|
||||
"powerline_symbol": "\ue0b2",
|
||||
"template": "sw{{ printf \"%.0f%%\" .SwapPercentUsed }}",
|
||||
"type": "sysinfo"
|
||||
},
|
||||
{
|
||||
"background": "#d3d7cf",
|
||||
"foreground": "#000000",
|
||||
|
|
Loading…
Reference in New Issue