Created
September 18, 2022 00:55
-
-
Save lidgnulinux/29daa57d46c46431e879799795f96d86 to your computer and use it in GitHub Desktop.
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'}) | |
yadi_sembako () { | |
yad --scale \ | |
--title "Yad pulse" \ | |
--text " Volume" --min-value 0 \ | |
--max-value=100 \ | |
--step=5 \ | |
--value $volstock --print-partial \ | |
--no-buttons \ | |
--vertical \ | |
--height 150 \ | |
--width 55 | |
} | |
yadi_sembako | while read val; do pulsemixer --set-volume $val; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment