spoon: update OpenBSD config.h

This commit is contained in:
Lucas 2020-01-26 14:53:21 +00:00
parent eec2186ce6
commit f46aaa286b

View File

@ -1,30 +1,30 @@
/* delay between each update in seconds */
int delay = 1;
#define lbc0 "%%{F#000000}"
#define lbc1 "%%{F#cc2900}"
#define lbc2 "%%{F#29cc00}"
#define lbc3 "%%{F#cca300}"
#define lbc4 "%%{F#0029cc}"
#define lbc5 "%%{F#cc00a3}"
#define lbc6 "%%{F#00a3cc}"
#define lbc7 "%%{F#cccccc}"
#define lbc8 "%%{F#333333}"
#define lbc9 "%%{F#ff5c33}"
#define lbc10 "%%{F#5cff33}"
#define lbc11 "%%{F#ffd633}"
#define lbc12 "%%{F#335cff}"
#define lbc13 "%%{F#ff33d6}"
#define lbc14 "%%{F#33d6ff}"
#define lbc15 "%%{F#ffffff}"
#define lbreset "%%{F-}"
#define lb_c0 "%%{F#000000}"
#define lb_c1 "%%{F#cc2900}"
#define lb_c2 "%%{F#29cc00}"
#define lb_c3 "%%{F#cca300}"
#define lb_c4 "%%{F#0029cc}"
#define lb_c5 "%%{F#cc00a3}"
#define lb_c6 "%%{F#00a3cc}"
#define lb_c7 "%%{F#cccccc}"
#define lb_c8 "%%{F#333333}"
#define lb_c9 "%%{F#ff5c33}"
#define lb_c10 "%%{F#5cff33}"
#define lb_c11 "%%{F#ffd633}"
#define lb_c12 "%%{F#335cff}"
#define lb_c13 "%%{F#ff33d6}"
#define lb_c14 "%%{F#33d6ff}"
#define lb_c15 "%%{F#ffffff}"
#define lb_reset "%%{F-}"
struct ent ents[] = {
/* reorder/remove these as you see fit */
{ .fmt = "%%{r}i5 %s'C " lbc14 "| " lbreset, .read = tempread, .arg = NULL },
{ .fmt = "%%{r}i5 %s'C " lb_c14 "|" lb_reset " ", .read = tempread, .arg = NULL },
{ .fmt = "%s ", .read = wifiread, .arg = NULL },
{ .fmt = "%s " lbc14 "| " lbreset, .read = netspeedread, .arg = "trunk0" },
{ .fmt = "B%s%% ", .read = battread, .arg = NULL },
{ .fmt = "V%s%% " lbc14 "| " lbreset, .read = mixread, .arg = NULL },
{ .fmt = "%s " lb_c14 "|" lb_reset " ", .read = netspeedread, .arg = "trunk0" },
{ .fmt = "%s ", .read = battread, .arg = NULL },
{ .fmt = "V%s " lb_c14 "|" lb_reset " ", .read = mixread, .arg = NULL },
{ .fmt = "%s", .read = dateread, .arg = &(struct datearg){ .fmt = "%a %d %b %T", .tz = "UTC" } },
};