commit 8935e685dc992cdfb2d115976801690713fdc05f
parent d81d2abfc17bd2fd3e4b40fe603b6e8c42729a2f
Author: lostd <lostd@2f30.org>
Date: Sun, 15 May 2016 14:22:40 +0100
Optimize for space
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/spoon.c b/spoon.c
@@ -25,10 +25,10 @@ struct ent {
int (*read)(char *, size_t);
} ents[] = {
/* reorder this if you want */
- { .fmt = " [%s]", .read = mpdread },
- { .fmt = " [%s]", .read = xkblayoutread },
- { .fmt = " [%s%%]", .read = battread },
- { .fmt = " %s", .read = dateread },
+ { .fmt = "[%s] ", .read = mpdread },
+ { .fmt = "[%s] ", .read = xkblayoutread },
+ { .fmt = "[%s%%] ", .read = battread },
+ { .fmt = "%s", .read = dateread },
};
int