diff --git a/.gitignore b/.gitignore index b6605b4..a219b45 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ # Custom blocks file -blocks.h +# blocks.h # Prerequisites *.d diff --git a/blocks.h b/blocks.h new file mode 100644 index 0000000..c3bcaad --- /dev/null +++ b/blocks.h @@ -0,0 +1,22 @@ +//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*/ + { "Docker: ", "status-docker", 60, 0 }, + + { "Pkgs: ", "status-pkgs", 1800, 0 }, + + { "Disk: ", "status-disk-usage", 30, 0 }, + { "Mem: ", "status-memory", 30, 0 }, + + { "Net: ", "status-internet", 60, 0 }, + + { "", "status-temperature", 30, 0 }, + + { "", "status-battery", 60, 0 }, + + { "", "status-datetime", 60, 0 }, +}; + +//sets delimiter between status commands. NULL character ('\0') means no delimiter. +static char delim[] = " | "; +static unsigned int delimLen = 5;