Created
December 3, 2016 02:38
-
-
Save unclechu/bcede7f4259490656562d863147f4c11 to your computer and use it in GitHub Desktop.
pareset.sh
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
#!/bin/bash | |
# reset devices outputs volumes | |
pactl list sinks short | awk '{print $2}' | xargs -I {} pactl set-sink-volume '{}' 0db | |
# reset devices inputs volumes | |
pactl list sources short | awk '{print $2}' | xargs -I {} pactl set-source-volume '{}' 0db | |
# reset applications outputs volumes | |
pactl list sink-inputs short | awk '{print $1}' | xargs -I {} pactl set-sink-input-volume '{}' 0db | |
# reset applications inputs volumes | |
pactl list source-outputs short | awk '{print $1}' | xargs -I {} pactl set-source-output-volume '{}' 0db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment