summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorroot <root@bengtsson.win>2021-12-27 08:54:58 +0000
committerroot <root@bengtsson.win>2021-12-27 08:54:58 +0000
commit2b7448b257b71d82da5e14c08577d694a84b6882 (patch)
tree36857402a69ea452772571cf53ef3f1c15efb6e3 /config.h
dwmblocks addedHEADmaster
Diffstat (limited to 'config.h')
-rw-r--r--config.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/config.h b/config.h
new file mode 100644
index 0000000..7773816
--- /dev/null
+++ b/config.h
@@ -0,0 +1,29 @@
+//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*/
+ {"", "sb-bandwidth", 1, 16},
+ {"", "sb-splitter", 0, 0},
+ {"", "sb-nm-intinfo", 20, 8},
+ {"", "sb-nm-laninfo", 20, 8},
+ {"", "sb-nm-waninfo", 20, 8},
+ {"", "sb-splitter", 0, 0},
+ {"", "sb-cpu", 4, 3},
+ {"", "sb-splitter", 0, 0},
+ {"", "sb-ram", 10, 2},
+ {"", "sb-music", 0, 11},
+ {"", "sb-volume", 5, 10},
+ {"", "sb-splitter", 0, 0},
+ {"", "sb-backlight", 0, 1},
+ {"", "sb-battery", 5, 4},
+ {"", "sb-mailbox", 180, 12},
+ {"", "sb-updates", 10000, 0},
+ {"", "sb-clock", 60, 0},
+};
+
+//sets delimeter between status commands. NULL character ('\0') means no delimeter.
+static char *delim = "\0";
+
+// 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 & }