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/default.nix | 41 +++++++++++++++++++++++++------ 1 file changed, 33 insertions(+), 8 deletions(-) (limited to 'modules/desktop/waybar/module/default.nix') diff --git a/modules/desktop/waybar/module/default.nix b/modules/desktop/waybar/module/default.nix index 2fa6ef8..628b534 100644 --- a/modules/desktop/waybar/module/default.nix +++ b/modules/desktop/waybar/module/default.nix @@ -3,17 +3,42 @@ lib, pkgs, }: +with config.scheme.withHashtag; { mainBar = { "hyprland/workspaces" = import ./workspaces.nix { inherit config; }; "hyprland/window" = import ./window.nix { inherit config; }; - "pulseaudio" = import ./volume.nix { inherit config; }; - "battery" = import ./battery.nix { inherit config; }; - "custom/vpn" = import ./vpn.nix { inherit config lib pkgs; }; - "network" = import ./network.nix { inherit config; }; - "clock#time" = import ./time.nix { inherit config; }; - "memory" = import ./memory.nix { inherit config; }; - "cpu" = import ./cpu.nix { inherit config; }; - "clock#date" = import ./date.nix { inherit config; }; + "pulseaudio" = import ./volume.nix { + inherit config; + iconColor = base0A; + }; + "battery" = import ./battery.nix { + inherit config; + iconColor = base09; + }; + "custom/vpn" = import ./vpn.nix { + inherit config lib pkgs; + iconColor = base0C; + }; + "network" = import ./network.nix { + inherit config; + iconColor = base0B; + }; + "clock#time" = import ./time.nix { + inherit config; + iconColor = base08; + }; + "memory" = import ./memory.nix { + inherit config; + iconColor = base0F; + }; + "cpu" = import ./cpu.nix { + inherit config; + iconColor = base0D; + }; + "clock#date" = import ./date.nix { + inherit config; + iconColor = base0E; + }; }; } -- cgit v1.2.3