fix audio, update audio interval to 1, added further ideas to roadmap

This commit is contained in:
koksnuss
2018-05-13 23:15:28 +02:00
parent efcd74ad75
commit 80d115c104
3 changed files with 7 additions and 4 deletions

4
audio
View File

@ -1,10 +1,10 @@
#!/bin/bash
amixer get Master | gawk '
match($0, /\[([0-9]+)\%\] \[(on)\]/, matches) {
match($0, /\[([0-9]+)\%\] \[(on|off)\]/, matches) {
audio=matches[1]
}
END {
if (matches[2]=='off') {
if (matches[2]=="off") {
printf("mute\n")
printf("\n")
exit 33