~kris/suckless

st

169e41e68736aa884f3b1894ffc5735f70e0edcd — Kris Yotam 7 months ago a33adc1
Migrate to st-flexipatch with sixel support

Switch from manually patched st to st-flexipatch (bakkeby/st-flexipatch).
This uses preprocessor directives in patches.h to toggle patches at
compile time, making it much easier to add/remove features.

Enabled patches:
- alpha (transparency)
- anygeometry, anysize (dynamic borders)
- blinking_cursor
- boxdraw (box-drawing chars)
- clipboard
- columns (no text cut on resize)
- copyurl
- externalpipe
- font2 (fallback fonts)
- iso14755 (unicode input)
- ligatures (HarfBuzz)
- newterm (spawn in cwd)
- scrollback + scrollback_mouse
- sixel (NEW - for manga-tui image support)
- swapmouse
- sync
- xresources + xresources_reload

To toggle patches: edit patches.h and rebuild.
See README.md for documentation on the preprocessor system.
93 files changed, 12145 insertions(+), 2203 deletions(-)

M LICENSE
M Makefile
M README.md
M config.def.h
M config.mk
D default.nix
D flake.lock
D flake.nix
M hb.c
M hb.h
D normalMode.c
D normalMode.h
A patch/alpha.c
A patch/alpha.h
A patch/background_image_x.c
A patch/background_image_x.h
R {boxdraw => patch/boxdraw}.c
R {boxdraw_data => patch/boxdraw}.h
A patch/copyurl.c
A patch/copyurl.h
A patch/drag-n-drop.c
A patch/drag-n-drop.h
A patch/externalpipe.c
A patch/externalpipe.h
A patch/fixkeyboardinput.c
A patch/font2.c
A patch/font2.h
A patch/fullscreen_x.c
A patch/fullscreen_x.h
A patch/invert.c
A patch/invert.h
A patch/iso14755.c
A patch/iso14755.h
A patch/keyboardselect_reflow.txt
A patch/keyboardselect_reflow_st.c
A patch/keyboardselect_reflow_st.h
A patch/keyboardselect_reflow_x.c
A patch/keyboardselect_reflow_x.h
A patch/keyboardselect_st.c
A patch/keyboardselect_st.h
A patch/keyboardselect_x.c
A patch/keyboardselect_x.h
A patch/netwmicon.c
A patch/netwmicon.h
A patch/netwmicon_ff.c
A patch/netwmicon_icon.h
A patch/netwmicon_legacy.c
A patch/newterm.c
A patch/newterm.h
A patch/opencopied.c
A patch/opencopied.h
A patch/openselectedtext.c
A patch/openselectedtext.h
A patch/openurlonclick.c
A patch/openurlonclick.h
A patch/osc133.c
A patch/osc133.h
A patch/osc7.c
A patch/osc7.h
A patch/reflow.c
A patch/reflow.h
A patch/rightclicktoplumb_st.c
A patch/rightclicktoplumb_st.h
A patch/rightclicktoplumb_x.c
A patch/rightclicktoplumb_x.h
A patch/scrollback.c
A patch/scrollback.h
A patch/st_embedder_x.c
A patch/st_embedder_x.h
A patch/st_include.c
A patch/st_include.h
A patch/sync.c
A patch/sync.h
A patch/x_include.c
A patch/x_include.h
A patch/xresources.c
A patch/xresources.h
A patches.def.h
A patches.h
A sixel.c
A sixel.h
A sixel_hls.c
A sixel_hls.h
M st.1
M st.c
M st.desktop
M st.h
M st.info
D st.png
D utils.h
M win.h
M x.c
D xresources
This diff is too large to display. Try viewing the raw diff instead.