From 0d7022d7c1f6c0b0c64529bcba8f0572971ab316 Mon Sep 17 00:00:00 2001 From: Fabian Montero Date: Fri, 8 Aug 2025 13:57:57 -0600 Subject: [PATCH] add privacy and disk to waybar --- home/modules/gui/waybar.nix | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/home/modules/gui/waybar.nix b/home/modules/gui/waybar.nix index 2369ebe..03a5b05 100644 --- a/home/modules/gui/waybar.nix +++ b/home/modules/gui/waybar.nix @@ -26,8 +26,11 @@ in { ]; modules-right = [ + "privacy" "cpu" "memory" + "disk" + "temperature" "keyboard-state" "tray" ]; @@ -42,8 +45,6 @@ in { "clock" = { interval = 60; format = "{:%A %B %d %Y %H:%M}"; - tooltip = true; - tooltip-format = "{}"; }; "cpu" = { format = "cpu {usage}%"; @@ -54,6 +55,14 @@ in { tooltip = true; tooltip-format = "{used}/{total}"; }; + "disk" = { + format = "disk {specific_used:0.0f}/{specific_total:0.0f}"; + unit = "GiB"; + tooltip = false; + }; + "privacy" = { + icon-size = 12; + }; }; }; style = '' @@ -86,8 +95,8 @@ in { .modules-left > widget:not(:first-child), .modules-center > widget:not(:first-child), .modules-right > widget:not(:first-child) { - margin-left: 8px; - padding-left: 8px; + margin-left: 12px; + padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, 0.08); }