summaryrefslogtreecommitdiff
path: root/modes/master/blocks.h
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2023-06-06 17:28:20 -0500
committerstkhan <personal@slickd.xyz>2023-06-06 17:28:20 -0500
commit3574936b66b398ab2d3d671c0df909740bed61c5 (patch)
tree9b2e83b2cfaad837c810b8638a1a88bd21a58e96 /modes/master/blocks.h
parent22681ed3fd1aef4dfe56ecbb0e6ef58e596971ef (diff)
Add modes
Diffstat (limited to 'modes/master/blocks.h')
-rw-r--r--modes/master/blocks.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/modes/master/blocks.h b/modes/master/blocks.h
new file mode 100644
index 0000000..2b7566c
--- /dev/null
+++ b/modes/master/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;