integrate with private dotfiles
This commit is contained in:
parent
ff32a1cceb
commit
3ca1fbf41f
4
Makefile
4
Makefile
@ -16,7 +16,9 @@ options:
|
||||
@echo "CC = $(CC)"
|
||||
|
||||
config.h:
|
||||
cp config.def.h config.h
|
||||
sed "s/HOSTNAME/$(shell cat /etc/hostname)/; \
|
||||
s/FONT/\"$(shell ../getfont.sh freedesktop)\"/" \
|
||||
config.def.h > config.h
|
||||
|
||||
.c.o:
|
||||
$(CC) $(STCFLAGS) -c $<
|
||||
|
2
README
2
README
@ -13,6 +13,8 @@ Installation
|
||||
Edit config.mk to match your local setup (st is installed into
|
||||
the /usr/local namespace by default).
|
||||
|
||||
Copy config.def.h to config.h and replace `FONT` with font of choice.
|
||||
|
||||
Afterwards enter the following command to build and install st (if
|
||||
necessary as root):
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
*
|
||||
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
||||
*/
|
||||
static char *font = "Inconsolata:pixelsize=17:antialias=true:autohint=true";
|
||||
static char *font = FONT;
|
||||
static int borderpx = 2;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user