new eww
This commit is contained in:
4
home/programs/eww/src/scripts/speaker_volume.sh
Executable file
4
home/programs/eww/src/scripts/speaker_volume.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
volume=$(pactl get-sink-volume @DEFAULT_SINK@ | awk '{print $5}' | tr -d '%')
|
||||
half_volume=$((volume / 2))
|
||||
|
||||
echo "$half_volume"
|
||||
Reference in New Issue
Block a user