From d45328c4442d0bc02550670e9ec401040b0f0938 Mon Sep 17 00:00:00 2001 From: dfuehrer Date: Sun, 14 Mar 2021 04:16:28 -0700 Subject: finally actually fixed the blocks dissappearing problem completely --- config.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 8bd92b9..76d24f1 100644 --- a/config.h +++ b/config.h @@ -10,7 +10,16 @@ static const Block blocks[] = { /* {"", "volume", 0, 10}, */ /* {"", "internet", 5, 4}, */ {"", "stalonetray.sh", 0, 27}, + /* {"?", "sleep 2s && date", 1, 8}, */ {"", "cpupercent.sh", 1, 19}, {"", "battery", 5, 3}, {"", "clock", 1, 1}, }; + +//Sets delimiter between status commands. NULL character ('\0') means no delimiter. +static char *delim = "|"; + +// Have dwmblocks automatically recompile and run when you edit this file in +// vim with the following line in your vimrc/init.vim: + +// autocmd BufWritePost ~/.local/src/dwmblocks/config.h !cd ~/.local/src/dwmblocks/; sudo make install && { killall -q dwmblocks;setsid dwmblocks & } -- cgit v1.2.3