diff --git a/config.h b/config.h index 2b124fd..001af63 100644 --- a/config.h +++ b/config.h @@ -1,15 +1,15 @@ //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-battery", 5, 3}, {"", "sb-music", 0, 11}, + {"", "sb-battery", 5, 3}, {"", "sb-volume", 10, 10}, // {"", "sb-updates", 360, 12}, {"", "sb-memory", 5, 14}, // {"Mem:", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0}, - {"", "sb-clock", 60, 1}, + {"", "sb-clock", 60, 1}, }; diff --git a/dwmblocks.c b/dwmblocks.c index 460fb6a..4b6908e 100644 --- a/dwmblocks.c +++ b/dwmblocks.c @@ -35,7 +35,7 @@ void setupsignals(); void sighandler(int signum); int getstatus(char *str, char *last); void statusloop(); -void termhandler(); +void termhandler(int signum); void pstdout(); #ifndef NO_X void setroot(); @@ -185,7 +185,7 @@ void sighandler(int signum) writestatus(); } -void termhandler() +void termhandler(int signum) { statusContinue = 0; }