fix audio, add cpu, update roadmap and config
This commit is contained in:
7
audio
7
audio
@ -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) {
|
||||
|
Reference in New Issue
Block a user