blocks.h moved to config.h
This commit is contained in:
parent
6bd2e845be
commit
b9e29ebe90
3 changed files with 9 additions and 7 deletions
2
Makefile
2
Makefile
|
@ -1,6 +1,6 @@
|
|||
output: dwmblocks.o
|
||||
gcc dwmblocks.o -lX11 -o dwmblocks
|
||||
dwmblocks.o: dwmblocks.c blocks.h
|
||||
dwmblocks.o: dwmblocks.c config.h
|
||||
gcc -c -lX11 dwmblocks.c
|
||||
clean:
|
||||
rm *.o *.gch dwmblocks
|
||||
|
|
|
@ -4,8 +4,10 @@ static const Block blocks[] = {
|
|||
/* {"", "cat /tmp/recordingicon", 0, 9}, */
|
||||
/* {"", "music", 0, 11}, */
|
||||
{"", "pacpackages", 0, 8},
|
||||
{"", "crypto", 0, 13},
|
||||
{"", "torrent", 20, 7},
|
||||
{"", "news", 0, 6},
|
||||
/* {"", "moonphase", 18000, 5}, */
|
||||
{"", "weather", 18000, 5},
|
||||
{"", "mailbox", 180, 12},
|
||||
{"", "volume", 0, 10},
|
|
@ -25,7 +25,7 @@ void sighandler(int signum);
|
|||
void termhandler(int signum);
|
||||
|
||||
|
||||
#include "blocks.h"
|
||||
#include "config.h"
|
||||
|
||||
static Display *dpy;
|
||||
static int screen;
|
||||
|
|
Loading…
Reference in a new issue