fix: make waybar work for sway as well, make some things work betterer

This commit is contained in:
Ahwx 2025-10-30 23:02:57 +01:00
parent 93870e87e7
commit 63fcef9227

View file

@ -29,13 +29,15 @@
"modules-left": [ "modules-left": [
"privacy", "privacy",
"network", "network",
"custom/music",
"custom/vpn", "custom/vpn",
"custom/devices", "custom/devices",
"custom/spotify", "sway/mode",
"tray", "tray",
], ],
"modules-center": [ "modules-center": [
"sway/workspaces",
"hyprland/workspaces", "hyprland/workspaces",
], ],
@ -104,7 +106,7 @@
"interval": 30 "interval": 30
}, },
"custom/spotify": { "custom/music": {
"interval": 5, "interval": 5,
"return-type": "json", "return-type": "json",
"exec": "~/.local/bin/waybar-music", "exec": "~/.local/bin/waybar-music",
@ -293,7 +295,7 @@
}, },
"battery": { "battery": {
"bat": "BAT1", "bat": "BAT0",
"interval": 20, "interval": 20,
"states": { "states": {
"warning": 20, "warning": 20,
@ -501,7 +503,7 @@
background: #f9409d; background: #f9409d;
} }
#custom-spotify { #custom-music {
color: #ffffff; color: #ffffff;
padding-right: 5px; padding-right: 5px;
} }