summaryrefslogtreecommitdiff
path: root/sd/dwmblocks/blocks.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'sd/dwmblocks/blocks.def.h')
-rw-r--r--sd/dwmblocks/blocks.def.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sd/dwmblocks/blocks.def.h b/sd/dwmblocks/blocks.def.h
new file mode 100644
index 0000000..b152ab9
--- /dev/null
+++ b/sd/dwmblocks/blocks.def.h
@@ -0,0 +1,11 @@
+//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*/
+ {"", "uname -n ", 0, 0},
+ {"", "uname -r", 0, 0},
+ {"", "date '+%I:%M%p'", 5, 0},
+};
+
+//sets delimeter between status commands. NULL character ('\0') means no delimeter.
+static char delim[] = " | ";
+static unsigned int delimLen = 5;