This commit is contained in:
DarthMooMancer
2025-08-17 01:46:02 -04:00
parent 7dde0eda21
commit 6cd2fba988
5 changed files with 514 additions and 5 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
if [ "$1" == "up" ]; then
pactl set-sink-volume @DEFAULT_SINK@ +2%
elif [ "$1" == "down" ]; then
pactl set-sink-volume @DEFAULT_SINK@ -2%
fi
TEST=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk '{printf "%d%%", $2 * 100}')
dunstify -t 2000 "Volume: ${TEST}" -h int:value:${TEST%%%} -h string:synchronous:volume