Add new status modules

This commit is contained in:
Tobias Eidelpes 2021-07-17 19:32:58 +02:00
parent 537ed53694
commit 0aa3678168

View File

@ -1,30 +1,32 @@
//Modify this file to change what commands output to your statusbar, and recompile using the make command. //Modify this file to change what commands output to your statusbar, and recompile using the make command.
static const Block blocks[] = { static const Block blocks[] = {
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
{"", "cat /tmp/recordingicon 2>/dev/null", 0, 9}, /* {"", "cat /tmp/recordingicon 2>/dev/null", 0, 9}, */
/* {"", "music", 0, 11},*/ {"", "music", 0, 11},
{"", "pacpackages", 0, 8}, /* {"", "pacpackages", 0, 8}, */
{"", "news", 0, 6}, {"", "news", 0, 6},
/* {"", "crypto", 0, 13}, */ /* {"", "crypto", 0, 13}, */
/* {"", "price bat \"Basic Attention Token\" 🦁", 0, 20}, */ /* {"", "price bat \"Basic Attention Token\" 🦁", 0, 20}, */
/* {"", "price btc Bitcoin 💰", 0, 21}, */ /* {"", "price btc Bitcoin 💰", 0, 21}, */
/* {"", "price lbc \"LBRY Token\" 📚", 0, 22}, */ /* {"", "price lbc \"LBRY Token\" 📚", 0, 22}, */
{"", "torrent", 20, 7}, /* {"", "torrent", 20, 7}, */
/* {"", "memory", 10, 14}, */ {"", "memory", 10, 14},
/* {"", "cpu", 10, 18}, */ {"", "cpu", 10, 18},
/* {"", "moonphase", 18000, 17}, */ {"", "disk", 10, 19},
{"", "weather", 18000, 5}, {"", "moonphase", 18000, 17},
{"", "mailbox", 180, 12}, /* {"", "weather", 18000, 5}, */
/* {"", "nettraf", 1, 16}, */ /* {"", "mailbox", 180, 12}, */
{"", "nettraf", 1, 16},
{"", "iplocate", 0, 12},
{"", "volume", 0, 10}, {"", "volume", 0, 10},
{"", "battery", 5, 3}, /* {"", "battery", 5, 3}, */
{"", "clock", 60, 1}, {"", "clock", 1, 1},
{"", "internet", 5, 4}, /* {"", "internet", 5, 4}, */
{"", "help-icon", 0, 15}, /* {"", "help-icon", 0, 15}, */
}; };
//Sets delimiter between status commands. NULL character ('\0') means no delimiter. //Sets delimiter between status commands. NULL character ('\0') means no delimiter.
static char *delim = " "; static char *delim = " | ";
// Have dwmblocks automatically recompile and run when you edit this file in // Have dwmblocks automatically recompile and run when you edit this file in
// vim with the following line in your vimrc/init.vim: // vim with the following line in your vimrc/init.vim: