Switch togglemute to catch Mono Master channel
This commit is contained in:
parent
f42e2fb87a
commit
82b6d32469
|
@ -20,7 +20,7 @@ if ( $ARGV[0] eq "-show" ) {
|
|||
}
|
||||
|
||||
$sound = `/usr/bin/amixer sget Master`;
|
||||
$mute = trim(`/usr/bin/amixer sget Master | grep "Front Left:" | awk '{print \$6}'`);
|
||||
$mute = trim(`/usr/bin/amixer sget Master | grep "Mono:" | awk '{print \$6}'`);
|
||||
$sth = $dbh->prepare("SELECT value FROM settings WHERE parameter='CURVOLUME'");
|
||||
$sth->execute();
|
||||
if ( $sth->rows > 0 ) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user