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

34
config.h Normal file
View File

@@ -0,0 +1,34 @@
//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-kbselect", 0, 30}, */
{ " ", "cat /tmp/recordingicon 2>/dev/null", 0, 9},
{ "", "sb-internet", 5, 4 },
{ "", "sb-nettraf", 5, 11 },
{ "", "sb-volume", 0, 3 },
{ "", "sb-backlight", 0, 5 },
{ "", "sb-battery", 15, 2 },
{ "", "sb-clock", 30, 1 },
// { "", "sb-news", 0, 6 },
// { " ", "sb-pacpackages", 0, 8 },
// {"", "sb-tasks", 10, 26}, /* Background tasks */
// {"", "sb-music", 0, 11},
// {"", "sb-price btc Bitcoin 💰", 9000, 21},
// {"", "sb-torrent", 20, 7},
// {"", "sb-memory", 10, 14},
// {"", "sb-cpu", 10, 18},
// {"", "sb-moonphase", 18000, 17},
// {"", "sb-forecast", 18000, 5},
// {"", "sb-mailbox", 180, 12},
// {"", "sb-help-icon", 0, 15},
};
// 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 & }