summaryrefslogtreecommitdiff
path: root/dwmblocks/blocks.h
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2022-06-11 19:51:12 +0000
committerstkhan <personal@slickd.xyz>2022-06-11 19:51:12 +0000
commitcb75956686ee8b20024a01cc3808e20a0bc3f7f8 (patch)
tree29086e0a1dadbf7a6655246387fa39db422baa3e /dwmblocks/blocks.h
parent016a3533c6b62297b98b86f097fab962ccebbbac (diff)
removed dwmblocks as submodule
Diffstat (limited to 'dwmblocks/blocks.h')
m---------dwmblocks0
-rw-r--r--dwmblocks/blocks.h16
2 files changed, 16 insertions, 0 deletions
diff --git a/dwmblocks b/dwmblocks
deleted file mode 160000
-Subproject a933ce0d6109524b393feb3e7156cbf0de88b42
diff --git a/dwmblocks/blocks.h b/dwmblocks/blocks.h
new file mode 100644
index 0000000..6b84963
--- /dev/null
+++ b/dwmblocks/blocks.h
@@ -0,0 +1,16 @@
+//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-forecast", 60, 10},
+ {"", "dwmblocks-mpc", 2, 2},
+ {"", "dwmblocks-brightness", 1, 1},
+ {"", "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;