summaryrefslogtreecommitdiff
path: root/blocks.h
diff options
context:
space:
mode:
Diffstat (limited to 'blocks.h')
-rw-r--r--blocks.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/blocks.h b/blocks.h
new file mode 100644
index 0000000..c33b349
--- /dev/null
+++ b/blocks.h
@@ -0,0 +1,13 @@
+//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*/
+ {"PKG: ", "dwm-packages", 3600, 3},
+ {"VOL: ", "dwm-volume", 0, 9},
+ {"BAT: ", "dwm-battery", 10, 6},
+ {"LNG: ", "xkb-switch", 1, 0},
+ {"CLK: ", "dwm-clock", 60, 10},
+};
+
+//sets delimeter between status commands. NULL character ('\0') means no delimeter.
+static char delim[] = " | ";
+static unsigned int delimLen = 5;