fix compilation
This commit is contained in:
parent
810a50bd51
commit
86f55d67ab
4
config.h
4
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},
|
||||
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue