aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.gitignore3
-rwxr-xr-xblocks.h15
2 files changed, 15 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index b6605b4..c4bb970 100755
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,3 @@
-# Custom blocks file
-blocks.h
-
# Prerequisites
*.d
diff --git a/blocks.h b/blocks.h
new file mode 100755
index 0000000..92f9807
--- /dev/null
+++ b/blocks.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*/
+ {"", "sb-music", 0, 11 },
+ {"", "sb-audio", 0, 1},
+ {"", "sb-brightness", 0, 2},
+ {"", "sb-internet", 0, 2},
+ {"", "sb-battery", 60, 0},
+ {"", "sb-time", 10, 0},
+};
+
+//sets delimiter between status commands. NULL character ('\0') means no delimiter.
+static char delim[] = " ";
+static unsigned int delimLen = 5;