mirror of
https://github.com/alrayyes/slstatus.git
synced 2024-11-24 20:46:23 +00:00
use legacy mixer for volume percentage
This commit is contained in:
parent
69376d77d7
commit
2f9d930d82
2 changed files with 3 additions and 2 deletions
2
PKGBUILD
2
PKGBUILD
|
@ -20,7 +20,7 @@ source=("git+https://git.suckless.org/${pkgname%-git}"
|
|||
"${_patches[@]}")
|
||||
|
||||
md5sums=('SKIP'
|
||||
'9a36cf69d3a7318fffad5535f3e0fed5'
|
||||
'0fe1531906ed0d267687f7b425e331ab'
|
||||
'24ea93ef665decc0315248f62aa65f44'
|
||||
'58404d0af1893f560926daf605a79919')
|
||||
|
||||
|
|
3
config.h
3
config.h
|
@ -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 },
|
||||
|
|
Loading…
Reference in a new issue