dots/.suckless/dwmblocks/blocks.h

22 lines
619 B
C
Raw Normal View History

2022-05-12 09:07:35 +02:00
#include "block.h"
2021-02-16 21:08:10 +01:00
static const Block blocks[] = {
2022-05-11 13:26:31 +02:00
/*
* Icon
* Command
* Update interval
* Update signal
*/
2022-05-12 09:08:10 +02:00
{"", "sb-date", 60, 0}, // Week, time, day
{"", "sb-pomo", 1, 0}, // Pomodoro timer
{"", "sb-tasks", 5, 0}, // Tasks done
{"", "sb-anki", 5, 0}, // Reviews done
{"", "sb-internet", 5, 0}, // Ethernet & WiFi status
{"", "sb-portfolio", 600, 0}, // Stocks
{"", "sb-battery", 60, 0}, // Battery level
2021-02-16 21:08:10 +01:00
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
2022-05-11 13:26:31 +02:00
static char delim[] = " ";
static unsigned int delimLen = 0;