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
#XCURSOR = -lXcursor #XCURSOR = -lXcursor
# Uncomment the lines below for the ligatures patch / LIGATURES_PATCH # Uncomment the lines below for the ligatures patch / LIGATURES_PATCH
#LIGATURES_C = hb.c LIGATURES_C = hb.c
#LIGATURES_H = hb.h LIGATURES_H = hb.h
#LIGATURES_INC = `$(PKG_CONFIG) --cflags harfbuzz` LIGATURES_INC = `$(PKG_CONFIG) --cflags harfbuzz`
#LIGATURES_LIBS = `$(PKG_CONFIG) --libs harfbuzz` LIGATURES_LIBS = `$(PKG_CONFIG) --libs harfbuzz`
# Uncomment this for the SIXEL patch / SIXEL_PATCH # Uncomment this for the SIXEL patch / SIXEL_PATCH
#SIXEL_C = sixel.c sixel_hls.c #SIXEL_C = sixel.c sixel_hls.c

1
manifest.scm

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

2
patches.def.h

@ -215,7 +215,7 @@
* https://github.com/cog1to/st-ligatures * https://github.com/cog1to/st-ligatures
* https://st.suckless.org/patches/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 /* 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. * foreground and background colors only - making for a monochrome look. Idea ref.

Loading…
Cancel
Save