tAdd own configuration - spoon - [fork] customized build of spoon, the dwm stat… | |
git clone git://src.adamsgaard.dk/spoon | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 0923a1296f40894c00d8e77cb5203cf6f70a0a2b | |
parent 9426be3d7059e0febbc083c8724b46b826f45cc0 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 27 May 2020 08:41:21 +0200 | |
Add own configuration | |
Diffstat: | |
A config.h | 21 +++++++++++++++++++++ | |
1 file changed, 21 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/config.h b/config.h | |
t@@ -0,0 +1,21 @@ | |
+/* delay between each update in seconds */ | |
+int delay = 1; | |
+ | |
+#define SEP "|" | |
+ | |
+struct ent ents[] = { | |
+ /* reorder/edit/remove these as you see fit */ | |
+ { .fmt = "%s", .read = fileexists, .arg = "/tmp/screenre… | |
+ { .fmt = "%s", .read = fileexists, .arg = "/tmp/adcast.p… | |
+ { .fmt = " %s "SEP, .read = mpdread, .arg = &(struct mpd… | |
+ { .fmt = "%s", .read = countread, .arg = "/home/ad/.mail… | |
+ { .fmt = " %s "SEP, .read = xkblayoutread, .arg = NULL }, | |
+ { .fmt = " vol %s "SEP, .read = mixread, .arg = NULL }, | |
+ /*{ .fmt = "[%s] ", .read = cpuread, .arg = "/sys/device… | |
+ { .fmt = " %s°C", .read = tempread, .arg = "/sys/class/… | |
+ { .fmt = " %s "SEP, .read = loadread, .arg = NULL }, | |
+ { .fmt = " %s "SEP, .read = battread, .arg = &(s… | |
+ /*{ .fmt = "%s ", .read = fileread, .arg = "/etc… | |
+ { .fmt = " %s "SEP, .read = wifiread, .arg = NUL… | |
+ { .fmt = " %s", .read = dateread, .arg = &(struc… | |
+}; |