summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2025-08-03 11:40:47 +0530
committerkrolxon <krolyxon@tutanota.com>2025-08-03 11:40:47 +0530
commit86f55d67ab77966611adabb937372173d157ae6e (patch)
treed931b3d685a82f6454d9a5a5d1edb3485f1ffc5f
parent810a50bd51bc3d73fde69706cd5e85cb5dff90fe (diff)
fix compilationHEADmaster
-rw-r--r--config.h4
-rw-r--r--dwmblocks.c4
2 files changed, 4 insertions, 4 deletions
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;
}