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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user