aboutsummaryrefslogtreecommitdiff
path: root/scripts/sound.sh
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2022-06-11 17:25:45 +0530
committerAkshay Nair <phenax5@gmail.com>2022-06-11 17:25:45 +0530
commitc17dad8344607a46df76b01d03873b1d02683c83 (patch)
treecbe6b50684922d099c238051a2ec8c4c79b79069 /scripts/sound.sh
parentdb36ce12e4b4bfa7f5f34f835d58493429254521 (diff)
downloadnixos-config-c17dad8344607a46df76b01d03873b1d02683c83.tar.gz
nixos-config-c17dad8344607a46df76b01d03873b1d02683c83.zip
chore: config update
Diffstat (limited to 'scripts/sound.sh')
-rwxr-xr-xscripts/sound.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/sound.sh b/scripts/sound.sh
index 090a805..cda805a 100755
--- a/scripts/sound.sh
+++ b/scripts/sound.sh
@@ -21,6 +21,7 @@ case "$1" in
volume) case "$2" in
up) amixer sset Master '5%+' ;;
down) amixer sset Master '5%-' ;;
+ perc) amixer sset Master "$3%" ;;
esac ;;
*) echo "Wrong command" ;;
esac