dotfiles

[void/arch] linux dotfiles
git clone git://git.mdnr.space/dotfiles
Log | Files | Refs

config.h (1453B)


      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 /*     {"kb: ", "sb-kbselect", 0, 30}, */
      5 	{"", "cat /tmp/recordingicon 2>/dev/null",	0,	9},
      6 /* 	{"",	"sb-tasks",	10,	26}, */
      7 	/* {"",	"sb-music",	0,	11}, */
      8 /* 	{"",	"sb-pacpackages",	0,	8}, */
      9 /* 	{"",	"sb-news",		0,	6}, */
     10 	/* {"",	"sb-price xmr Monero 🔒 24",			9000,	24}, */
     11 	/* {"",	"sb-price eth Ethereum 🍸 23",	9000,	23}, */
     12 	/* {"",	"sb-price btc Bitcoin 💰 21",				9000,	21}, */
     13 /* 	{"",	"sb-torrent",	20,	7}, */
     14     {"",	"sb-memory",	10,	14},
     15 /*  {"",	"sb-cpu",		10,	18}, */
     16 	/* {"",	"sb-moonphase",	18000,	17}, */
     17 /* 	{"",	"sb-doppler",	0,	13}, */
     18 /* 	{"",	"sb-forecast",	18000,	5}, */
     19 /* 	{"",	"sb-mailbox",	180,	12}, */
     20 	{"",	"sb-nettraf",	1,	16},
     21 	{"",	"sb-volume",	0,	10},
     22 	{"",	"sb-battery",	5,	3},
     23 	{"",	"sb-clock",	1,	1},
     24 /* 	{"",	"sb-internet",	5,	4}, */
     25 /*  {"",	"sb-iplocate", 0,	27}, */
     26 /* 	{"",	"sb-help-icon",	0,	15}, */
     27 };
     28 
     29 //Sets delimiter between status commands. NULL character ('\0') means no delimiter.
     30 static char *delim = "   ";
     31 
     32 // Have dwmblocks automatically recompile and run when you edit this file in
     33 // vim with the following line in your vimrc/init.vim:
     34 
     35 // autocmd BufWritePost ~/.local/src/dwmblocks/config.h !cd ~/.local/src/dwmblocks/; sudo make install && { killall -q dwmblocks;setsid dwmblocks & }