~skiqqy/slstatus

470631cc91c9425da1074a4d02cb50b453683e76 — Stephen Cochrane a month ago b187eca master
Tidy up
1 files changed, 3 insertions(+), 8 deletions(-)

M config.h
M config.h => config.h +3 -8
@@ 64,17 64,12 @@ static const char unknown_str[] = "n/a";
static const struct arg args[] = {
	/* function format          argument */

	/* Calcurse */
	{ run_command, "[%s] ",
	"[ $(command -v calcurse) ] && calcurse -n | cut -d$'\n' -f 2 | sed -e 's/^[ ]*//;s/\\[//g;s/\\]//g'"
	"|| echo \"<ERROR> calcurse is missing <ERROR>\""},
	
	/* Date */
	{ datetime, "[%s] ", "%F %T" },

	/* WiFi */
	{ wifi_essid, "[%s", "wlo1" },
	{ wifi_perc, "%s] ", "wlo1" },
	
	/* Date */
	{ datetime, "[%s] ", "%F %T" },

	/* RAM Info */
	{ ram_free, "[%s/", NULL },