summaryrefslogtreecommitdiff
path: root/wm/someblocks/blocks.h
diff options
context:
space:
mode:
Diffstat (limited to 'wm/someblocks/blocks.h')
-rw-r--r--wm/someblocks/blocks.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/wm/someblocks/blocks.h b/wm/someblocks/blocks.h
new file mode 100644
index 0000000..2b7566c
--- /dev/null
+++ b/wm/someblocks/blocks.h
@@ -0,0 +1,15 @@
+//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*/
+ {"", "dwmblocks-mpc", 2, 2},
+ {"", "dwmblocks-du", 60, 0},
+ {"", "dwmblocks-volume", 0, 10},
+ {"", "dwmblocks-battery", 1, 0},
+ {"🕗 ", "date '+%k:%M'", 1, 0},
+ {"📅 ", "date '+%A, %B %d %G'", 1, 0},
+};
+
+//sets delimeter between status commands. NULL character ('\0') means no delimeter.
+static char delim[] = " | ";
+static unsigned int delimLen = 5;