From 34858683c15cb0c2e1c397b596ce082dab9ed170 Mon Sep 17 00:00:00 2001 From: pagedmov Date: Tue, 29 Oct 2024 23:28:52 -0400 Subject: [PATCH] altered the disk usage tooltip in the waybar to use a line break instead of a comma --- modules/home/environment/waybar/settings.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/environment/waybar/settings.nix b/modules/home/environment/waybar/settings.nix index 2a5e5b7..8f6b649 100644 --- a/modules/home/environment/waybar/settings.nix +++ b/modules/home/environment/waybar/settings.nix @@ -112,7 +112,7 @@ in nix_percent = $5 } 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 }' | jq --unbuffered --compact-output '';