From 47a4bf5c092a70095a250eed0372835221905067 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sat, 25 Jul 2026 14:46:01 +0530 Subject: feat(waybar): color icons with base16, refactor modules, polish bar styling - Color individual module icons with base16 palette via iconColor param - Refactor vpn module into writeShellScript for Pango markup support - Switch window module from max-length to expand, fix-center to false - Add persistent-workspaces to reserve workspaces across monitor changes - Overhaul waybar CSS: borders, padding, hover/active workspace states - Change memory display from {usedGb} GB to {percentage}% --- modules/desktop/waybar/module/battery.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/desktop/waybar/module/battery.nix') diff --git a/modules/desktop/waybar/module/battery.nix b/modules/desktop/waybar/module/battery.nix index bf3527c..ec14b8b 100644 --- a/modules/desktop/waybar/module/battery.nix +++ b/modules/desktop/waybar/module/battery.nix @@ -1,9 +1,9 @@ -{ config }: +{ config, iconColor }: with config.scheme.withHashtag; { - format = "{icon} {capacity}%"; - format-charging = "󰂄 {capacity}%"; - format-plugged = "󰁹 {capacity}%"; + format = "{icon} {capacity}%"; + format-charging = "󰂄 {capacity}%"; + format-plugged = "󰁹 {capacity}%"; format-alt = "{time} {icon}"; format-icons = [ "󰁺" -- cgit v1.2.3