From 8b9fc55a81bc017bb730b8c73f28ec6e46b55b28 Mon Sep 17 00:00:00 2001 From: Tovi Jaeschke-Rogers Date: Mon, 31 Mar 2025 09:09:12 +1030 Subject: [PATCH] feat: remove blocks.h from .gitignore --- .gitignore | 2 +- blocks.h | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 blocks.h 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;