spoon: make Linux match OpenBSD style
This commit is contained in:
parent
f1c39a568c
commit
540f26be40
@ -1,11 +1,28 @@
|
||||
/* delay between each update in seconds */
|
||||
int delay = 1;
|
||||
|
||||
#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 = "%s | ", .read = mpdread, .arg = &(struct mpdarg){ .host = NULL, .port = 0 } },*/
|
||||
{ .fmt = "%%{r}i7 %s'C | ", .read = tempread, .arg = "/sys/class/hwmon/hwmon0/temp1_input" },
|
||||
{ .fmt = "%s | ", .read = netspeedread, .arg = "enp11s0" },
|
||||
{ .fmt = "V%s%% | ", .read = mixread, .arg = NULL },
|
||||
{ .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" } },
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user