feat: Add initial config files

This commit is contained in:
2025-09-04 10:20:59 +02:00
commit 264e458cc4
5 changed files with 442 additions and 0 deletions

19
config.def.h Normal file
View File

@@ -0,0 +1,19 @@
//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-internet", 5, 4 },
{ "", "sb-nettraf", 5, 11 },
{ "", "sb-volume", 0, 3 },
{ "", "sb-battery", 15, 2 },
{ "", "sb-clock", 30, 1 },
};
// Sets delimiter between status commands. NULL character ('\0') means no delimiter.
// static char *delim = " | ";
// static char *delim = " ";
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 & }