wip
This commit is contained in:
1 parent
57aac2bfbe
commit
9e7022c2cb
5 files changed
+514
-5
No files matched your search
Executable
+10
@@ -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
|
||||
Reference in new issue
Block a user