From 0e71af11a27631e45c0160842e4498507420eff0 Mon Sep 17 00:00:00 2001 From: stkhan Date: Fri, 31 Mar 2023 19:42:29 -0500 Subject: bar and blocks --- wm/someblocks/blocks.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 wm/someblocks/blocks.h (limited to 'wm/someblocks/blocks.h') 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; -- cgit v1.2.3