summaryrefslogtreecommitdiff
path: root/wm/someblocks/blocks.h
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2023-03-31 19:42:29 -0500
committerstkhan <personal@slickd.xyz>2023-03-31 19:42:29 -0500
commit0e71af11a27631e45c0160842e4498507420eff0 (patch)
tree4eed4eba5b0273f26bc55243cce36a2670ac0fef /wm/someblocks/blocks.h
parent07afc07ffff324f3a355f2437bd643b616fe0af4 (diff)
bar and blocks
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;