summaryrefslogtreecommitdiff
path: root/blocks.h
diff options
context:
space:
mode:
Diffstat (limited to 'blocks.h')
-rwxr-xr-xblocks.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/blocks.h b/blocks.h
new file mode 100755
index 0000000..277e159
--- /dev/null
+++ b/blocks.h
@@ -0,0 +1,14 @@
+//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*/
+ {"", "volume.sh", 0, 1},
+ {"📧", "mail.sh", 300, 0},
+/* {"Mem:", "memory.sh", 60, 0},*/
+ {"", "cpu_temp.sh", 45, 0},
+ {"", "battery.sh", 60, 0},
+ {"", "date '+%d %b %I:%M'", 60, 30},
+};
+
+//sets delimeter between status commands. NULL character ('\0') means no delimeter.
+static char delim[] = " | ";
+static unsigned int delimLen = 5;