Introduction
Introduction Statistics Contact Development Disclaimer Help
tFix spacing between mpd and recording status - spoon - dwm status utility (2f3…
git clone git://src.adamsgaard.dk/spoon
Log
Files
Refs
LICENSE
---
commit 11d2344a17373aff077d0a7884a8ac8a3c7751e3
parent 59436c2eeb7c104ed05c3a9af158fabd441950b4
Author: Anders Damsgaard <[email protected]>
Date: Tue, 28 Apr 2020 08:58:27 +0200
Fix spacing between mpd and recording status
Diffstat:
D .gitignore | 5 -----
M config.def.h | 26 ++++++++++++++------------
2 files changed, 14 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
t@@ -1,5 +0,0 @@
-*.o
-*.tar.gz
-/config.h
-/config.mk
-spoon
diff --git a/config.def.h b/config.def.h
t@@ -1,18 +1,20 @@
/* 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 = mpdread, .arg = &(struct mpdar…
- { .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/…
- { .fmt = "[%s°] ", .read = tempread, .arg = "/sys/class…
- { .fmt = "%s ", .read = battread, .arg = &(struc…
- { .fmt = "%s ", .read = wifiread, .arg = NULL },
- { .fmt = "[%s] ", .read = xkblayoutread, .arg = NULL },
- { .fmt = "%s", .read = keyread, .arg = &(struct …
- { .fmt = "%s ", .read = fileread, .arg = "/etc/m…
- { .fmt = "%s", .read = dateread, .arg = &(struct…
+ { .fmt = "%s", .read = fileexists, .arg = "/tmp/screenre…
+ { .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…
};
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.