Browse Source

ligatures patch

master
Ivan Polyakov 3 years ago
parent
commit
6fe076976b
  1. 8
      config.mk
  2. 1
      manifest.scm
  3. 2
      patches.def.h

8
config.mk

@ -19,10 +19,10 @@ PKG_CONFIG = pkg-config @@ -19,10 +19,10 @@ PKG_CONFIG = pkg-config
#XCURSOR = -lXcursor
# Uncomment the lines below for the ligatures patch / LIGATURES_PATCH
#LIGATURES_C = hb.c
#LIGATURES_H = hb.h
#LIGATURES_INC = `$(PKG_CONFIG) --cflags harfbuzz`
#LIGATURES_LIBS = `$(PKG_CONFIG) --libs harfbuzz`
LIGATURES_C = hb.c
LIGATURES_H = hb.h
LIGATURES_INC = `$(PKG_CONFIG) --cflags harfbuzz`
LIGATURES_LIBS = `$(PKG_CONFIG) --libs harfbuzz`
# Uncomment this for the SIXEL patch / SIXEL_PATCH
#SIXEL_C = sixel.c sixel_hls.c

1
manifest.scm

@ -8,4 +8,5 @@ @@ -8,4 +8,5 @@
"gcc-toolchain"
"libxft"
"libx11"
"harfbuzz"
"make"))

2
patches.def.h

@ -215,7 +215,7 @@ @@ -215,7 +215,7 @@
* https://github.com/cog1to/st-ligatures
* https://st.suckless.org/patches/ligatures/
*/
#define LIGATURES_PATCH 0
#define LIGATURES_PATCH 1
/* This patch makes st ignore terminal color attributes by forcing display of the default
* foreground and background colors only - making for a monochrome look. Idea ref.

Loading…
Cancel
Save