Pad cpu usage to avoid moving the powerline around

main
Julius Riegel 1 month ago
parent 709e6dc3d9
commit fb44fdfb55

@ -161,13 +161,13 @@ export def `zjstatus powerline_right` [] {
let elements = ([
(ci status)
{
text: ($sys.cpu.cpu_usage | math avg | math round -p 2 | $"($in) % ")
text: ($sys.cpu.cpu_usage | math avg | math round -p 2 | $"($in) % " | fill -a right -c ' ' -w 8)
icon: ""
bg: "cyan"
fg: $ZELLIJ_BG
}
{
text: $"($sys.mem.used) "
text: ($"($sys.mem.used) " | fill -a right -c ' ' -w 8)
icon: ""
bg: "green"
fg: $ZELLIJ_BG

Loading…
Cancel
Save