From c54f722b31bc3ad5cf1caccf07590bcab8930675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Uruba?= Date: Mon, 23 Nov 2020 14:43:24 +0100 Subject: [PATCH] update config --- blocks.def.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blocks.def.h b/blocks.def.h index 21d956c..f076ba2 100644 --- a/blocks.def.h +++ b/blocks.def.h @@ -1,13 +1,13 @@ //Modify this file to change what commands output to your statusbar, and recompile using the make command. static const Block blocks[] = { - /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ - {"Mem: ", "free -h | awk '/^Minne/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0}, + /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ + {"Mem: ", "free -h | awk '/^Minne/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0}, {"Bat: ", "echo \"$(cat /sys/class/power_supply/BAT0/capacity)%\" \ \"[$(sed \"s/Unknown/?/;s/Charging/+/;s/Discharging/-/;\"\ /sys/class/power_supply/BAT0/status)]\"", 30, 0}, {"xbps: ", "xbps-install -un | grep update | wc -l", 30, 0}, {"", "xkblayout-state print \"%s\"", 5, 0}, - {"", "date '+%b %d (%a) %H:%M'", 5, 0}, + {"", "date '+%b %d (%a) %H:%M'", 5, 0}, }; //sets delimeter between status commands. NULL character ('\0') means no delimeter.