summaryrefslogtreecommitdiff
path: root/sd/dwmblocks/blocks.def.h
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2021-06-19 10:42:34 -0500
committerstkhan <personal@slickd.xyz>2021-06-19 10:42:34 -0500
commite2dbb81b9144fd8be2eb89617db38fd361079fed (patch)
tree77cdbe3673b967c594327c878379aaae9c56daaf /sd/dwmblocks/blocks.def.h
parente8df46e3babbb943a729935786a0d55dbe0e2028 (diff)
1.0.0b2
Former-commit-id: 7e8e8ad1998285a5b38c4bedd38acd0bbe37de4d
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;