diff --git a/Makefile b/Makefile index 0dcafb1..3e36c48 100644 --- a/Makefile +++ b/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 diff --git a/font.ttf b/font.ttf index 3a6261a..4ae83bb 100644 Binary files a/font.ttf and b/font.ttf differ diff --git a/options.h b/options.h index 91055c9..d67ca71 100644 --- a/options.h +++ b/options.h @@ -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 --global'. */