From 55bc08f934c3392e922943d48de0e9e8b68480b0 Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Tue, 12 Mar 2019 14:00:22 +0100 Subject: [PATCH] moved volume to after backlight --- PKGBUILD | 2 +- config.h | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index e039857..5b91c9a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -23,7 +23,7 @@ source=("git+https://git.suckless.org/${pkgname%-git}" "${_patches[@]}") md5sums=('SKIP' - '5dcbe7ba6e38e1b6e545a58a44929dd8' + 'e15c2506c8737e8924fb88fc8b92cae7' '24ea93ef665decc0315248f62aa65f44' '58404d0af1893f560926daf605a79919' 'fc9b31ea31470b6816f1f92c6bc6fa9d' diff --git a/config.h b/config.h index 914ab90..042f238 100644 --- a/config.h +++ b/config.h @@ -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 },