summaryrefslogtreecommitdiff
path: root/blocks.h
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2021-06-14 20:33:14 +0400
committerAndrew Guschin <saintruler@gmail.com>2021-06-14 20:33:14 +0400
commit1749fbcdedbdaa3a490712ade94ed050510d2930 (patch)
treecbd01fa79dadb54513628c25bd9b7cd2bb85d1ea /blocks.h
parentc2c012f298c79a390a110a26c1f44ca80545456b (diff)
Removed all patches from build
Diffstat (limited to 'blocks.h')
-rw-r--r--blocks.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/blocks.h b/blocks.h
new file mode 100644
index 0000000..c33b349
--- /dev/null
+++ b/blocks.h
@@ -0,0 +1,13 @@
+//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*/
+ {"PKG: ", "dwm-packages", 3600, 3},
+ {"VOL: ", "dwm-volume", 0, 9},
+ {"BAT: ", "dwm-battery", 10, 6},
+ {"LNG: ", "xkb-switch", 1, 0},
+ {"CLK: ", "dwm-clock", 60, 10},
+};
+
+//sets delimeter between status commands. NULL character ('\0') means no delimeter.
+static char delim[] = " | ";
+static unsigned int delimLen = 5;