This commit is contained in:
2026-02-20 01:01:27 +01:00
parent 3e7d82524f
commit d0d1327e9f
17 changed files with 671 additions and 0 deletions

8
scripts/wp-vol.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# Get the volume level and convert it to a percentage
volume=$(wpctl get-volume @DEFAULT_SINK@)
volume=$(echo "$volume" | awk '{print $2}')
volume=$(echo "( $volume * 100 ) / 1" | bc)
notify-send -t 1000 -a 'wp-vol' -h int:value:$volume "Volume: ${volume}%"