Skip to content

Instantly share code, notes, and snippets.

@lidgnulinux
Created September 17, 2022 02:25
Show Gist options
  • Save lidgnulinux/0e54037025b3f32b5d3dff292d2b0ef7 to your computer and use it in GitHub Desktop.
Save lidgnulinux/0e54037025b3f32b5d3dff292d2b0ef7 to your computer and use it in GitHub Desktop.
zenity set volume.
#!/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