From 5f7fc400226f356aab012fa7d8bd949a1c550408 Mon Sep 17 00:00:00 2001 From: Christian Kolset Date: Mon, 16 Mar 2026 02:26:18 -0600 Subject: Changed statusbar items and widtth to fit my preferences with dwm color feature. --- config.h | 11 ++++++----- dwmblocks.c | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/config.h b/config.h index 51025a9..4038f3e 100644 --- a/config.h +++ b/config.h @@ -11,14 +11,14 @@ static const Block blocks[] = { /* {"", "sb-price xmr Monero 🔒 24", 9000, 24}, */ /* {"", "sb-price eth Ethereum 🍸 23", 9000, 23}, */ /* {"", "sb-price btc Bitcoin 💰 21", 9000, 21}, */ - {"", "sb-torrent", 20, 7}, - /* {"", "sb-memory", 10, 14}, */ - /* {"", "sb-cpu", 10, 18}, */ + /*{"", "sb-torrent", 20, 7},*/ + {"", "sb-memory", 10, 14}, + {"", "/home/christian/.local/bin/statusbar/sb-cpu", 10, 18}, /* {"", "sb-moonphase", 18000, 17}, */ {"", "sb-doppler", 0, 13}, {"", "sb-forecast", 18000, 5}, {"", "sb-mailbox", 180, 12}, - {"", "sb-nettraf", 1, 16}, + /*{"", "sb-nettraf", 1, 16},*/ {"", "sb-volume", 0, 10}, {"", "sb-battery", 5, 3}, {"", "sb-clock", 60, 1}, @@ -28,9 +28,10 @@ static const Block blocks[] = { }; //Sets delimiter between status commands. NULL character ('\0') means no delimiter. -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 & } + diff --git a/dwmblocks.c b/dwmblocks.c index 6983418..2cf53da 100644 --- a/dwmblocks.c +++ b/dwmblocks.c @@ -293,3 +293,4 @@ int main(int argc, char** argv) statusloop(); close(signalFD); } + -- cgit v1.2.3