Introduction
Introduction Statistics Contact Development Disclaimer Help
tPolish defaults and add comment - spoon - dwm status utility (2f30 fork)
git clone git://src.adamsgaard.dk/spoon
Log
Files
Refs
LICENSE
---
commit c2a9bc8050fcea5317bff4a59df25b1e0bb64a23
parent 121956cfc0fa87ba9608d804f3ca044dc57c8d12
Author: lostd <[email protected]>
Date: Sun, 15 May 2016 14:12:59 +0100
Polish defaults and add comment
Diffstat:
M spoon.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/spoon.c b/spoon.c
t@@ -23,13 +23,11 @@ struct ent {
char *fmt;
int (*read)(char *, size_t);
} ents[] = {
- { .fmt = "[%s]", .read = mpdread },
- { .fmt = " ", .read = dummyread },
- { .fmt = "%s%%", .read = battread },
- { .fmt = " ", .read = dummyread },
- { .fmt = "[%s]", .read = xkblayoutread },
- { .fmt = " ", .read = dummyread },
- { .fmt = "%s", .read = dateread },
+ /* reorder this if you want */
+ { .fmt = " [%s]", .read = mpdread },
+ { .fmt = " [%s]", .read = xkblayoutread },
+ { .fmt = " [%s%%]", .read = battread },
+ { .fmt = " %s", .read = dateread },
};
int
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.