summaryrefslogtreecommitdiff
path: root/dwmblocks/blocks.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'dwmblocks/blocks.def.h')
-rw-r--r--dwmblocks/blocks.def.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/dwmblocks/blocks.def.h b/dwmblocks/blocks.def.h
new file mode 100644
index 0000000..68bb4bb
--- /dev/null
+++ b/dwmblocks/blocks.def.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*/
+ {"", "st-rec", 0, 2},
+ {"", "st-vol", 0, 1},
+ {"", "st-temp", 5, 0},
+ {"", "st-mem", 5, 0},
+ {"", "st-power", 5, 0},
+ {"", "st-disk", 30, 0},
+ {"", "date +%m-%d-%Y' '%R", 1 , 0},
+};
+
+//sets delimiter between status commands. NULL character ('\0') means no delimiter.
+static char delim[] = " | ";
+static unsigned int delimLen = 5;