altered the disk usage tooltip in the waybar to use a line break instead of a comma

This commit is contained in:
pagedmov
2024-10-29 23:28:52 -04:00
parent 8f8708ad28
commit 34858683c1

View File

@@ -112,7 +112,7 @@ in
nix_percent = $5 nix_percent = $5
} }
END { END {
printf "{\"class\": \"disk-icon\", \"tooltip\": \"/home: %s / %s, /nix: %s / %s\", \"percentage\": \"%s\"}\n", printf "{\"class\": \"disk-icon\", \"tooltip\": \"/home: %s / %s\\n/nix: %s / %s\", \"percentage\": \"%s\"}\n",
format(home_usage), format(home_total), format(nix_usage), format(nix_total), home_percent format(home_usage), format(home_total), format(nix_usage), format(nix_total), home_percent
}' | jq --unbuffered --compact-output }' | jq --unbuffered --compact-output
''; '';