diff --git a/dots/.config/waybar/config b/dots/.config/waybar/config index 70e9b91f..3e1780f1 100644 --- a/dots/.config/waybar/config +++ b/dots/.config/waybar/config @@ -9,6 +9,7 @@ "memory", "battery", "disk", + "custom/audio-device", "custom/pipewire" ], "modules-center": [ @@ -75,6 +76,13 @@ "max-length": 20, "min-length": 14 }, + "custom/audio-device": { + "tooltip": false, + "min-length": 20, + "interval": 1, + "format": " {}", + "exec": "wpctl status | grep -m 1 '*' | cut -d '.' -f2 | cut -d '[' -f1 | xargs" + }, "custom/pipewire": { "format": "{icon} {percentage}%", "return-type": "json", diff --git a/dots/.config/waybar/style.css b/dots/.config/waybar/style.css index a54e324f..7a7c4d70 100644 --- a/dots/.config/waybar/style.css +++ b/dots/.config/waybar/style.css @@ -69,6 +69,14 @@ color: @fujiWhite; } +#custom-audio-device { + background: @sumiInk0; + border-top: 2px solid @oniViolet; + border-left: 2px solid @oniViolet; + color: @fujiWhite; +} + + #custom-sway-mode { background: @sumiInk0; border-bottom: 2px solid @oniViolet;