use legacy mixer for volume percentage

This commit is contained in:
Ryan Kes 2019-03-10 22:24:59 +01:00
parent 69376d77d7
commit 2f9d930d82
2 changed files with 3 additions and 2 deletions

View file

@ -20,7 +20,7 @@ source=("git+https://git.suckless.org/${pkgname%-git}"
"${_patches[@]}")
md5sums=('SKIP'
'9a36cf69d3a7318fffad5535f3e0fed5'
'0fe1531906ed0d267687f7b425e331ab'
'24ea93ef665decc0315248f62aa65f44'
'58404d0af1893f560926daf605a79919')

View file

@ -77,7 +77,8 @@ static const struct arg args[] = {
{ seperator, "\x0F", NULL },
{ disk_perc, "\x10 / %s%%", "/" },
{ disk_perc, "  %s%% ", "/home" },
//{ seperator, "\x11", NULL },
{ seperator, "\x11", NULL },
{ vol_perc, " \x12 蓼 %s%% ", "/dev/mixer" },
//{ run_command, "\x12 蓼 %s%% ", "/bin/sh -c \"amixer get Master | tail -n1 | grep -Po '\\[\\K[^%]*' | head -n1\"" },
{ seperator, "\x13", NULL },
{ ram_perc, "\x14  %s%% ", NULL },