Dock sounds are working again

This commit is contained in:
Felix Van der Jeugt 2020-10-16 10:34:30 +02:00
parent 80cd0beec4
commit 64e878f67c
No known key found for this signature in database
GPG key ID: 58B209295023754D
2 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
#card="$(aplay -l | sed -n 's/^card [0-9]*: \(\w*\).*/\1/p' | tail -1)"
card=PCH
card="$(aplay -l | sed -n 's/^card [0-9]*: \(\w*\).*/\1/p' | tail -1)"
#card=PCH
control="$(amixer -c "$card" scontrols | sed -n "1s/.*'\(.*\)'.*/\1/p")"
uplimit="$(amixer -c "$card" get "$control" | grep "Limits:" | tr -s ' ' | cut -d' ' -f6)"