1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
//Modify this file to change what commands output to your statusbar, and recompile using the make command.
static const Block blocks[] = {
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
/*
{"", "cat /tmp/recordingicon 2>/dev/null", 0, 9},
{"", "sb-tasks", 10, 26},
{"", "sb-music", 0, 11},
{"", "sb-pacpackages", 0, 8},
{"", "sb-news", 0, 6},
{"", "sb-torrent", 20, 7},
{"", "sb-cpu", 10, 18},
{"", "sb-moonphase", 18000, 17},
{"", "sb-forecast", 18000, 5},
{"", "sb-mailbox", 180, 12},
{"", "sb-nettraf", 1, 16},
{"", "sb-volume", 0, 10},
{"", "sb-battery", 5, 3},
{"", "sb-clock", 60, 1},
{"", "sb-internet", 5, 4},
{"", "sb-help-icon", 0, 15},
*/
{"", "sb-date", 1000, 1},
{"", "sb-time", 60, 1},
{"", "sb-forecast", 10000, 1},
{"", "sb-network", 5, 1},
{"", "sb-volume", 0, 10},
{"", "sb-sysinfo", 5, 14},
{"", "sb-indicators", 0, 11},
//{"", "sb-battery", 5, 3},
};
//Sets delimiter between status commands. NULL character ('\0') means no delimiter.
static char *delim = "^C5^ ^d^";
// Have dwmblocks automatically recompile and run when you edit this file in
// vim with the following line in your vimrc/init.vim:
// autocmd BufWritePost ~/.local/src/dwmblocks/config.h !cd ~/.local/src/dwmblocks/; sudo make install && { killall -q dwmblocks;setsid dwmblocks & }
|