Update
This commit is contained in:
parent
f0621ca873
commit
14bd878895
16
Makefile
16
Makefile
|
@ -29,7 +29,7 @@ st: $(OBJ)
|
|||
$(CC) -o $@ $(OBJ) $(STLDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f st $(OBJ) st-$(VERSION).tar.gz
|
||||
rm -f st $(OBJ) st-spde-$(VERSION).tar.gz
|
||||
|
||||
dist: clean
|
||||
mkdir -p st-spde-$(VERSION)
|
||||
|
@ -56,4 +56,16 @@ uninstall:
|
|||
rm -f $(DESTDIR)$(APPPREFIX)/st.desktop
|
||||
rm -f $(DESTDIR)$(ICONPREFIX)/$(ICONNAME)
|
||||
|
||||
.PHONY: all options clean dist install uninstall
|
||||
enablefont:
|
||||
fontctrl install font.ttf
|
||||
fontctrl enable font.ttf
|
||||
|
||||
help:
|
||||
@echo "install: Install st"
|
||||
@echo "uninstall: Uninstall st"
|
||||
@echo "dist: Package st into st-spde-$(VERSION).tar.gz (Used for Gentoo overlays and the AUR for example)."
|
||||
@echo "clean: Remove .o files and st binary"
|
||||
@echo "help: Display this list"
|
||||
@echo "enablefont: Install and enable the included font.ttf. You must have fontctrl installed for this to be used. If you do not, install it here: https://codeberg.org/speedie/fontctrl"
|
||||
|
||||
.PHONY: all options clean dist install uninstall help enablefont
|
||||
|
|
|
@ -34,7 +34,7 @@ static uint ignoremod = Mod2Mask|XK_SWITCH_MOD;
|
|||
|
||||
/* Font options
|
||||
*/
|
||||
static char *font = "DejaVuSansMonoForPowerline Nerd Font:style=Book:antialias=true:autohint=true"; /* Main font to use */
|
||||
static char *font = "DejaVuSansMono Nerd Font:style=Bold:pixelsize=12:antialias=true:autohint=true"; /* Main font to use */
|
||||
/* This font should be bundled with st. Install it manually or with fontctrl (available here: https://codeberg.org/speedie/fontctrl)
|
||||
* If it is not available, you may need to 'fontctrl install <font file> --global'.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue