summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2021-01-29 20:48:15 -0600
committerzachir <zachir@librem.one>2021-01-29 20:48:15 -0600
commit7c0616a6d15d4573915c1de504e7c7bf3d544219 (patch)
tree3d7cb607f3d806069e3e8e3ce7b4f10fa8c33e54
parent23666be2884d0c45fcee698719edd05578b40cc8 (diff)
Re-add config.h
-rw-r--r--config.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/config.h b/config.h
new file mode 100644
index 0000000..0479e5c
--- /dev/null
+++ b/config.h
@@ -0,0 +1,34 @@
+//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}, */
+ {"", "mailbox", 900, 23},
+ {"", "music", 0, 11},
+ {"", "pacpackages", 0, 8},
+ /* {"", "xidlechk", 0, 19}, */
+ /* {"", "news", 0, 6}, */
+ /* {"", "crypto", 0, 13}, */
+ /* {"", "price bat \"Basic Attention Token\" 🦁", 0, 20}, */
+ /* {"", "price btc Bitcoin 💰", 0, 21}, */
+ /* {"", "price lbc \"LBRY Token\" 📚", 0, 22}, */
+ {"", "torrent", 20, 7},
+ {"", "memory", 10, 14},
+ {"", "cpu", 10, 18},
+ /* {"", "moonphase", 18000, 17}, */
+ /* {"", "weather", 18000, 5}, */
+ {"", "mailbox", 180, 12},
+ /* {"", "nettraf", 1, 16}, */
+ {"", "volume", 10, 10},
+ {"", "battery", 5, 3},
+ {"", "clock", 0, 1},
+ /* {"", "internet", 5, 4}, */
+ /* {"", "help-icon", 0, 15}, */
+};
+
+//Sets delimiter between status commands. NULL character ('\0') means no delimiter.
+static char *delim = " ";
+
+// 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 & }