From 63fcef92274aa787ca4b56fa9a33b8a4080920b7 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Thu, 30 Oct 2025 23:02:57 +0100 Subject: [PATCH] fix: make `waybar` work for `sway` as well, make some things work betterer --- modules/home/waybar/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/home/waybar/default.nix b/modules/home/waybar/default.nix index 9b7562b..076a386 100644 --- a/modules/home/waybar/default.nix +++ b/modules/home/waybar/default.nix @@ -29,13 +29,15 @@ "modules-left": [ "privacy", "network", + "custom/music", "custom/vpn", "custom/devices", - "custom/spotify", + "sway/mode", "tray", ], "modules-center": [ + "sway/workspaces", "hyprland/workspaces", ], @@ -104,7 +106,7 @@ "interval": 30 }, - "custom/spotify": { + "custom/music": { "interval": 5, "return-type": "json", "exec": "~/.local/bin/waybar-music", @@ -293,7 +295,7 @@ }, "battery": { - "bat": "BAT1", + "bat": "BAT0", "interval": 20, "states": { "warning": 20, @@ -501,7 +503,7 @@ background: #f9409d; } - #custom-spotify { + #custom-music { color: #ffffff; padding-right: 5px; }