blocks.h moved to config.h

This commit is contained in:
Luke Smith 2020-03-01 07:01:56 -05:00
parent 6bd2e845be
commit b9e29ebe90
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252
3 changed files with 9 additions and 7 deletions

View file

@ -1,6 +1,6 @@
output: dwmblocks.o output: dwmblocks.o
gcc dwmblocks.o -lX11 -o dwmblocks gcc dwmblocks.o -lX11 -o dwmblocks
dwmblocks.o: dwmblocks.c blocks.h dwmblocks.o: dwmblocks.c config.h
gcc -c -lX11 dwmblocks.c gcc -c -lX11 dwmblocks.c
clean: clean:
rm *.o *.gch dwmblocks rm *.o *.gch dwmblocks

View file

@ -4,8 +4,10 @@ static const Block blocks[] = {
/* {"", "cat /tmp/recordingicon", 0, 9}, */ /* {"", "cat /tmp/recordingicon", 0, 9}, */
/* {"", "music", 0, 11}, */ /* {"", "music", 0, 11}, */
{"", "pacpackages", 0, 8}, {"", "pacpackages", 0, 8},
{"", "crypto", 0, 13},
{"", "torrent", 20, 7}, {"", "torrent", 20, 7},
{"", "news", 0, 6}, {"", "news", 0, 6},
/* {"", "moonphase", 18000, 5}, */
{"", "weather", 18000, 5}, {"", "weather", 18000, 5},
{"", "mailbox", 180, 12}, {"", "mailbox", 180, 12},
{"", "volume", 0, 10}, {"", "volume", 0, 10},

View file

@ -25,7 +25,7 @@ void sighandler(int signum);
void termhandler(int signum); void termhandler(int signum);
#include "blocks.h" #include "config.h"
static Display *dpy; static Display *dpy;
static int screen; static int screen;