env/spoon/config.h-OpenBSD

31 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-09-11 04:11:40 +02:00
/* delay between each update in seconds */
int delay = 1;
2020-01-26 15:53:21 +01:00
#define lb_c0 "%%{F#000000}"
2020-08-01 22:45:50 +02:00
#define lb_c1 "%%{F#872011}"
#define lb_c2 "%%{F#468622}"
#define lb_c3 "%%{F#b58b00}"
#define lb_c4 "%%{F#2d6388}"
#define lb_c5 "%%{F#a32d80}"
2020-08-01 22:45:50 +02:00
#define lb_c6 "%%{F#459cab}"
#define lb_c7 "%%{F#c6c6c6}"
#define lb_c8 "%%{F#303030}"
#define lb_c9 "%%{F#dc3a23}"
#define lb_c10 "%%{F#67c034}"
#define lb_c11 "%%{F#f7be00}"
#define lb_c12 "%%{F#4997ce}"
#define lb_c13 "%%{F#ec57bc}"
2020-08-01 22:45:50 +02:00
#define lb_c14 "%%{F#61d6ea}"
2020-01-26 15:53:21 +01:00
#define lb_c15 "%%{F#ffffff}"
#define lb_reset "%%{F-}"
2019-09-11 04:11:40 +02:00
struct ent ents[] = {
/* reorder/remove these as you see fit */
2020-01-26 15:53:21 +01:00
{ .fmt = "%%{r}i5 %s'C " lb_c14 "|" lb_reset " ", .read = tempread, .arg = NULL },
2019-09-11 04:11:40 +02:00
{ .fmt = "%s ", .read = wifiread, .arg = NULL },
2020-01-26 15:53:21 +01:00
{ .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 },
2019-09-11 04:11:40 +02:00
{ .fmt = "%s", .read = dateread, .arg = &(struct datearg){ .fmt = "%a %d %b %T", .tz = "UTC" } },
};