fix compilation

This commit is contained in:
krolxon 2025-08-03 11:40:47 +05:30
parent 810a50bd51
commit 86f55d67ab
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
//Modify this file to change what commands output to your statusbar, and recompile using the make command. //Modify this file to change what commands output to your statusbar, and recompile using the make command.
static const Block blocks[] = { static const Block blocks[] = {
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
{"", "sb-battery", 5, 3},
{"", "sb-music", 0, 11}, {"", "sb-music", 0, 11},
{"", "sb-battery", 5, 3},
{"", "sb-volume", 10, 10}, {"", "sb-volume", 10, 10},
// {"", "sb-updates", 360, 12}, // {"", "sb-updates", 360, 12},

View File

@ -35,7 +35,7 @@ void setupsignals();
void sighandler(int signum); void sighandler(int signum);
int getstatus(char *str, char *last); int getstatus(char *str, char *last);
void statusloop(); void statusloop();
void termhandler(); void termhandler(int signum);
void pstdout(); void pstdout();
#ifndef NO_X #ifndef NO_X
void setroot(); void setroot();
@ -185,7 +185,7 @@ void sighandler(int signum)
writestatus(); writestatus();
} }
void termhandler() void termhandler(int signum)
{ {
statusContinue = 0; statusContinue = 0;
} }