1
0
mirror of https://github.com/alrayyes/slstatus synced 2023-11-14 15:56:27 +00:00

moved volume to after backlight

This commit is contained in:
Ryan Kes 2019-03-12 14:00:22 +01:00
parent ef39d1fb6d
commit 55bc08f934
2 changed files with 4 additions and 5 deletions

View File

@ -23,7 +23,7 @@ source=("git+https://git.suckless.org/${pkgname%-git}"
"${_patches[@]}")
md5sums=('SKIP'
'5dcbe7ba6e38e1b6e545a58a44929dd8'
'e15c2506c8737e8924fb88fc8b92cae7'
'24ea93ef665decc0315248f62aa65f44'
'58404d0af1893f560926daf605a79919'
'fc9b31ea31470b6816f1f92c6bc6fa9d'

View File

@ -79,11 +79,10 @@ static const struct arg args[] = {
{ seperator, "\x0D", NULL },
{ backlight_perc, "\x0E  %s%% ", "intel_backlight" },
{ seperator, "\x0F", NULL },
{ disk_perc, "\x10 / %s%%", "/" },
{ disk_perc, "  %s%% ", "/home" },
{ vol_perc, "\x10 蓼 %s%% ", "/dev/mixer" },
{ 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\"" },
{ disk_perc, "\x12 / %s%%", "/" },
{ disk_perc, "  %s%% ", "/home" },
{ seperator, "\x13", NULL },
{ ram_perc, "\x14  %s%% ", NULL },
{ seperator, "\x15", NULL },