dwmblocks

My clickable dwmblocks build
Log | Files | Refs | README | LICENSE

config.h (1463B)


      1 //Modify this file to change what commands output to your statusbar, and recompile using the make command.
      2 static const Block blocks[] = {
      3 	/*Icon*/	/*Command*/		/*Update Interval*/	/*Update Signal*/
      4 	/* {"⌨", "kbselect", 0, 30}, */
      5 	{"", "cat /tmp/recordingicon 2>/dev/null",	0,	9},
      6 	/* {"",	"music",	0,	11}, */
      7 	{"",	"pacpackages",	0,	8},
      8 	{"",	"news",		0,	6},
      9 	/* {"",	"crypto",	0,	13}, */
     10 	/* {"",	"price lbc \"LBRY Token\" 📚",			9000,	22}, */
     11 	/* {"",	"price bat \"Basic Attention Token\" 🦁",	9000,	20}, */
     12 	/* {"",	"price link \"Chainlink\" 🔗",			300,	25}, */
     13 	/* {"",	"price xmr \"Monero\" 🔒",			9000,	24}, */
     14 	/* {"",	"price eth Ethereum 🍸",	9000,	23}, */
     15 	/* {"",	"price btc Bitcoin 💰",				9000,	21}, */
     16 	/* {"",	"torrent",	20,	7}, */
     17 	/* {"",	"memory",	10,	14}, */
     18 	/* {"",	"cpu",		10,	18}, */
     19 	/* {"",	"moonphase",	18000,	17}, */
     20 	{"",	"forecast",	18000,	5},
     21 	{"",	"mailbox",	180,	12},
     22 	{"",	"nettraf",	1,	16},
     23 	{"",	"volume",	0,	10},
     24 	{"",	"battery",	5,	3},
     25 	{"",	"clock",	60,	1},
     26 	{"",	"internet",	5,	4},
     27 	{"",	"help-icon",	0,	15},
     28 };
     29 
     30 //Sets delimiter between status commands. NULL character ('\0') means no delimiter.
     31 static char *delim = " ";
     32 
     33 // Have dwmblocks automatically recompile and run when you edit this file in
     34 // vim with the following line in your vimrc/init.vim:
     35 
     36 // autocmd BufWritePost ~/.local/src/dwmblocks/config.h !cd ~/.local/src/dwmblocks/; sudo make install && { killall -q dwmblocks;setsid dwmblocks & }