feat(wob): remplacer wob par overlay GTK arrondi violet-chaton

- Nouveau wob-overlay.py : fenêtre GTK3+GtkLayerShell transparente
  avec barre arrondie (border-radius 12px), couleur pink pour volume
  et cyan pour luminosité
- Protocole FIFO typé : v:N pour volume, b:N pour luminosité
- wob-start.sh lance wob-overlay.py au lieu du binaire wob
- wob-volume.sh, wob-brightness.sh, vc-media-popup.py et
  power-profile.sh mis à jour pour envoyer les messages typés
- Correction bug vc-media-popup.py : les deux sliders audio
  contrôlaient @DEFAULT_AUDIO_SINK@ (mauvaise capture de target)
This commit is contained in:
Tetardtek
2026-02-23 13:32:02 +01:00
parent ff93913133
commit 140351675d
6 changed files with 231 additions and 17 deletions

View File

@@ -10,8 +10,8 @@ case "$1" in
down) brightnessctl set "${STEP}%-" -q ;;
esac
# Feedback wob si le daemon tourne
if [[ -p "$FIFO" ]] && pgrep -x wob >/dev/null 2>&1; then
# Feedback overlay
if [[ -p "$FIFO" ]]; then
BRIGHT=$(brightnessctl -m 2>/dev/null | awk -F, '{gsub(/%/,"",$4); print int($4)}')
echo "$BRIGHT" > "$FIFO"
echo "b:${BRIGHT}" > "$FIFO"
fi