2019-03-24 23:51:45 +00:00
|
|
|
//Modify this file to change what commands output to your statusbar, and recompile using the make command.
|
2019-03-24 22:31:05 +00:00
|
|
|
static const Block blocks[] = {
|
2020-04-23 00:09:51 +00:00
|
|
|
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
|
|
|
|
{"", "cat /tmp/recordingicon 2>/dev/null", 0, 9},
|
2020-05-04 21:26:37 +00:00
|
|
|
/* {"", "music", 0, 11}, */
|
2020-04-23 00:09:51 +00:00
|
|
|
{"", "pacpackages", 0, 8},
|
2020-05-04 19:26:24 +00:00
|
|
|
{"", "news", 0, 6},
|
2020-04-23 00:09:51 +00:00
|
|
|
/* {"", "crypto", 0, 13}, */
|
|
|
|
{"", "torrent", 20, 7},
|
|
|
|
/* {"", "memory", 10, 14}, */
|
|
|
|
/* {"", "cpu", 10, 13}, */
|
2020-05-08 00:35:49 +00:00
|
|
|
/* {"", "moonphase", 18000, 17}, */
|
2020-04-23 00:09:51 +00:00
|
|
|
{"", "weather", 18000, 5},
|
|
|
|
{"", "mailbox", 180, 12},
|
2020-05-04 19:26:24 +00:00
|
|
|
/* {"", "nettraf", 1, 16}, */
|
|
|
|
{"", "volume", 0, 10},
|
2020-05-08 00:35:49 +00:00
|
|
|
{"", "battery", 5, 3},
|
2020-04-23 00:09:51 +00:00
|
|
|
{"", "clock", 60, 1},
|
|
|
|
{"", "internet", 5, 4},
|
2020-04-23 19:11:50 +00:00
|
|
|
{"", "help-icon", 0, 15},
|
2019-09-21 19:34:35 +00:00
|
|
|
};
|
2019-03-30 03:10:46 +00:00
|
|
|
|
2019-09-21 19:34:35 +00:00
|
|
|
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
|
2020-02-01 17:43:28 +00:00
|
|
|
static char delim = '|';
|
2020-04-15 18:42:20 +00:00
|
|
|
|
|
|
|
// Have dwmblocks automatically recompile and run when you edit this file in
|
|
|
|
// vim with the following line in your vimrc/init.vim:
|
|
|
|
|
2020-04-22 23:44:42 +00:00
|
|
|
// autocmd BufWritePost ~/.local/src/dwmblocks/config.h !cd ~/.local/src/dwmblocks/; sudo make install && { killall -q dwmblocks;setsid dwmblocks & }
|