fix audio, add cpu, update roadmap and config

This commit is contained in:
koksnuss
2018-05-13 23:04:33 +02:00
parent 239bed779c
commit efcd74ad75
4 changed files with 44 additions and 62 deletions

7
audio
View File

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