Created
September 17, 2022 02:25
-
-
Save lidgnulinux/0e54037025b3f32b5d3dff292d2b0ef7 to your computer and use it in GitHub Desktop.
zenity set volume.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
volstock=$(pulsemixer --get-volume | awk {'print $1'}) | |
value=$(zenity --title "Volume Setter Zenity" --scale --text "Adjust the Volume" --min-value 0 --max-value=100 --step=5 --value $volstock) | |
pulsemixer --set-volume "$value" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment