waybar: added pipewire listener for displaying audio status changes in real time

This commit is contained in:
2025-11-10 15:27:47 +01:00
parent 064362bfb1
commit 5542c53a39
3 changed files with 30 additions and 0 deletions

View File

@@ -201,6 +201,9 @@ riverctl spawn "wlclock --layer background --background-colour '#00000000' --clo
#riverctl spawn "$HOME/.config/river/bar"
riverctl spawn waybar
# Start waybar audio listener
~/.local/bin/waybar_audio_event_bridge.sh &
# Idle configuration
riverctl spawn "swayidle -w timeout 1200 'wlopm --off \"*\"' resume 'wlopm --on \"*\"' before-sleep 'waylock -fork-on-lock'"

View File

@@ -71,6 +71,7 @@
"custom/audio": {
"exec": "~/.local/bin/waybar_audio.sh",
"signal": 8,
"return-type": "json",
"format": "{icon} {text}",
"format-icons": {