tsimplify args - spoon - dwm status utility (2f30 fork) | |
git clone git://src.adamsgaard.dk/spoon | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 088f8e6f15d4d5cad187df163e32e0431a5fe1e9 | |
parent cc9730b94b734a1cd45163d8ab57e156e3bb2f59 | |
Author: Christoph Polcin <[email protected]> | |
Date: Wed, 14 Mar 2018 12:11:54 +0100 | |
simplify args | |
Signed-off-by: Christoph Polcin <[email protected]> | |
Diffstat: | |
M config.def.h | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/config.def.h b/config.def.h | |
t@@ -4,7 +4,7 @@ int delay = 1; | |
struct ent ents[] = { | |
/* reorder/remove these as you see fit */ | |
{ .fmt = "[%s] ", .read = mpdread, .arg = &(struct mpdar… | |
- { .fmt = "[%s] ", .read = countread, .arg = (char []){"/… | |
+ { .fmt = "[%s] ", .read = countread, .arg = "/home/USER/… | |
{ .fmt = "[%s] ", .read = mixread, .arg = NULL }, | |
{ .fmt = "[%s] ", .read = loadread, .arg = NULL }, | |
{ .fmt = "[%s] ", .read = cpuread, .arg = "/sys/devices/… | |
t@@ -14,5 +14,5 @@ struct ent ents[] = { | |
{ .fmt = "[%s] ", .read = xkblayoutread, .arg = NULL }, | |
{ .fmt = "%s", .read = keyread, .arg = &(struct … | |
{ .fmt = "%s ", .read = fileread, .arg = "/etc/m… | |
- { .fmt = "%s", .read = dateread, .arg = (char []… | |
+ { .fmt = "%s", .read = dateread, .arg = "%a %d %… | |
}; |