revert: i think doing the env script in the tty instead of dwm breaks my stuff but I had to rebase my thing again, on the other hand - st: ligatures added

This commit is contained in:
DarthMooMancer
2025-09-17 21:02:15 -04:00
parent 805d64bb14
commit 21f42fad07
25 changed files with 6927 additions and 134 deletions
+6 -6
View File
@@ -8,10 +8,11 @@ X11LIB = /usr/X11R6/lib
PKG_CONFIG = pkg-config
# includes and libs
INCS = $(shell pkg-config --cflags x11 fontconfig freetype2) # -I$(X11INC)
INCS = $(shell pkg-config --cflags x11 fontconfig freetype2 harfbuzz) # -I$(X11INC)
LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft \
`$(PKG_CONFIG) --libs fontconfig` \
`$(PKG_CONFIG) --libs freetype2`
`$(PKG_CONFIG) --libs freetype2` \
`$(PKG_CONFIG) --libs harfbuzz`
# flags
STCPPFLAGS = -D_XOPEN_SOURCE=600
@@ -21,16 +22,15 @@ STLDFLAGS = $(LIBS) $(LDFLAGS)
# compiler and linker
CC = gcc
SRC = st.c x.c
SRC = st.c x.c hb.c
OBJ = $(SRC:.c=.o)
all: st
.c.o:
$(CC) $(STCFLAGS) -c $<
st.o: config.h st.h win.h
x.o: arg.h config.h st.h win.h
x.o: arg.h config.h st.h win.h hb.h
hb.o: st.h
$(OBJ): config.h