1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2025-12-20 16:46:47 +02:00

Switch from tvolnoti to swayosd

This commit is contained in:
2024-06-15 11:26:24 +03:00
parent b16c433a20
commit f42b5eb4ac
2 changed files with 7 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ pactl subscribe | grep --line-buffered "sink" |
while read; do
VOL=$(amixer get Master | grep -Po "[0-9]+(?=%)" | tail -1)
if [[ $VOL != $OLD_VOL ]]; then
tvolnoti-show $VOL
swayosd-client --output-volume=+0
OLD_VOL=$VOL
fi
done