From 9a696eab13af2b74430fb4889df0dd8035871be9 Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Sun, 17 Mar 2019 16:34:46 +0100 Subject: [PATCH] re ordered bars and added arch updatable package count --- PKGBUILD | 2 +- config.h | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index bbb888f..d5afcf5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -23,7 +23,7 @@ source=("git+https://git.suckless.org/${pkgname%-git}" "${_patches[@]}") md5sums=('SKIP' - '9916a68f1eb7904a24f72347091d11b9' + '535eb182192f4b5ed25be8930788066d' '24ea93ef665decc0315248f62aa65f44' '58404d0af1893f560926daf605a79919' 'fc9b31ea31470b6816f1f92c6bc6fa9d' diff --git a/config.h b/config.h index 847810b..b605af8 100644 --- a/config.h +++ b/config.h @@ -84,11 +84,13 @@ static const struct arg args[] = { /* { seperator, "\x13", NULL }, */ { ram_perc, "\x14  %s%% ", NULL }, /* { seperator, "\x15", NULL }, */ - { load_avg, "\x16  %s ", NULL }, - /* { seperator, "\x17", NULL }, */ - { cpu_perc, "\x18  %s%% ", NULL }, + { cpu_perc, "\x16  %s%% ", NULL }, + /* { seperator, "\x17 ", NULL }, */ + { load_avg, "\x18  %s ", NULL }, /*{ seperator, "\x19", NULL }, */ { temp, "\x1A  %s糖 ", "/sys/class/thermal/thermal_zone0/temp" }, /* { seperator, "\x1B", NULL }, */ - { datetime, "\x1C 﨟 %s", "%d-%m-%Y %T" }, + { run_command, "\x1C  %s ", "pacman -Qu | wc -l" }, + /* { seperator, "\x1D", NULL },*/ + { datetime, "\x1E 﨟 %s", "%d-%m-%Y %T" }, };