dwmblocks/config.h

36 lines
1.4 KiB
C
Raw Normal View History

//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[] = {
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
/* {"⌨", "sb-kbselect", 0, 30}, */
{"", "cat /tmp/recordingicon 2>/dev/null", 0, 9},
{"", "sb-tasks", 10, 26},
2023-04-09 18:02:54 +00:00
/* {"", "sb-music", 0, 11}, */
{"", "sb-pacpackages", 0, 8},
{"", "sb-news", 0, 6},
2023-04-05 08:11:55 +00:00
/* {"", "sb-price xmr Monero 🔒 24", 9000, 24}, */
/* {"", "sb-price eth Ethereum 🍸 23", 9000, 23}, */
/* {"", "sb-price btc Bitcoin 💰 21", 9000, 21}, */
{"", "sb-torrent", 20, 7},
/* {"", "sb-memory", 10, 14}, */
/* {"", "sb-cpu", 10, 18}, */
/* {"", "sb-moonphase", 18000, 17}, */
2022-08-20 12:01:57 +00:00
{"", "sb-doppler", 0, 13},
{"", "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-iplocate", 0, 27}, */
{"", "sb-help-icon", 0, 15},
2019-09-21 19:34:35 +00:00
};
2019-03-30 03:10:46 +00:00
//Sets delimiter between status commands. NULL character ('\0') means no delimiter.
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 & }