env/spoon/config.h-Linux

29 lines
1018 B
Plaintext
Raw Normal View History

2019-09-11 04:11:40 +02:00
/* delay between each update in seconds */
int delay = 1;
2020-05-23 04:11:37 +02: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-05-23 04:11:37 +02: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-05-23 04:11:37 +02:00
{ .fmt = "%%{r}i7 %s'C " lb_c14 "|" lb_reset " ", .read = tempread, .arg = "/sys/class/hwmon/hwmon0/temp1_input" },
{ .fmt = "%s " lb_c14 "|" lb_reset " ", .read = netspeedread, .arg = "enp11s0" },
{ .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" } },
2019-09-11 04:11:40 +02:00
};