From e7c2c4c4485c13b1817577abe9fdf8ca3a5ce4f1 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sun, 26 Jul 2026 00:27:20 +0530 Subject: feat(waybar): rearranged the modules in waybar --- modules/desktop/waybar/module/default.nix | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'modules/desktop/waybar/module') diff --git a/modules/desktop/waybar/module/default.nix b/modules/desktop/waybar/module/default.nix index 016ebd2..ebfa2c4 100644 --- a/modules/desktop/waybar/module/default.nix +++ b/modules/desktop/waybar/module/default.nix @@ -3,16 +3,18 @@ lib, pkgs, }: -with config.scheme.withHashtag; let inherit (import ../lib.nix { inherit lib; }) mkIcon; in { mainBar = { - "hyprland/workspaces" = import ./workspaces.nix { inherit config lib; }; - "hyprland/window" = import ./window.nix { inherit config; }; - "pulseaudio" = import ./volume.nix { inherit config mkIcon; }; "battery" = import ./battery.nix { inherit config mkIcon; }; + "cpu" = import ./cpu.nix { inherit config mkIcon; }; + "clock#date" = import ./date.nix { inherit config mkIcon; }; + "memory" = import ./memory.nix { inherit config mkIcon; }; + "network" = import ./network.nix { inherit config mkIcon; }; + "clock#time" = import ./time.nix { inherit config mkIcon; }; + "pulseaudio" = import ./volume.nix { inherit config mkIcon; }; "custom/vpn" = import ./vpn.nix { inherit config @@ -21,10 +23,7 @@ in mkIcon ; }; - "network" = import ./network.nix { inherit config mkIcon; }; - "clock#time" = import ./time.nix { inherit config mkIcon; }; - "memory" = import ./memory.nix { inherit config mkIcon; }; - "cpu" = import ./cpu.nix { inherit config mkIcon; }; - "clock#date" = import ./date.nix { inherit config mkIcon; }; + "hyprland/window" = import ./window.nix { inherit config; }; + "hyprland/workspaces" = import ./workspaces.nix { inherit config lib; }; }; } -- cgit v1.2.3