A custom build of st (from suckless.org).
  • C 96.2%
  • Roff 2.4%
  • Makefile 1.4%
Find a file
2026-06-14 15:27:40 +10:00
patches Initial commit 2026-06-14 15:27:40 +10:00
arg.h Initial commit 2026-06-14 15:27:40 +10:00
build.sh Initial commit 2026-06-14 15:27:40 +10:00
config.def.h Initial commit 2026-06-14 15:27:40 +10:00
config.mk Initial commit 2026-06-14 15:27:40 +10:00
LICENSE Initial commit 2026-06-14 15:27:40 +10:00
Makefile Initial commit 2026-06-14 15:27:40 +10:00
ReadMe.md Initial commit 2026-06-14 15:27:40 +10:00
st.1 Initial commit 2026-06-14 15:27:40 +10:00
st.c Initial commit 2026-06-14 15:27:40 +10:00
st.h Initial commit 2026-06-14 15:27:40 +10:00
st.info Initial commit 2026-06-14 15:27:40 +10:00
win.h Initial commit 2026-06-14 15:27:40 +10:00
x.c Initial commit 2026-06-14 15:27:40 +10:00

st

This is Pete Hinchley's fork of st (simple terminal): https://st.suckless.org

Changes

It is based on version 0.9 of st with the following patches:

It also includes the following personal customisations:

Shortcuts

Action Key Combination
Copy ctrl + shift + c
Paste ctrl + shift + v
Paste Selected ctrl + shift + y
Zoom In ctrl + shift + PageUp
Zoom Out ctrl + shift + PageDown
Reset Zoom ctrl + shift + Home
Scroll Up shift + PageUp
Scroll Down shift + PageDown
Increase Opacity alt + BracketLeft
Decrease Opacity alt + BracketRight
Reset Opacity alt + BraceRight

Build

To build and install st:

git clone https://github.com/hinchley/st.git
cd st
./build.sh

Update Procedure

To create this fork, the relevant patches were downloaded, and each was applied using the following command from the root of the repository:

patch --merge -i <patch name>.diff

Failed changes were then manually remediated. A failure is marked by >>>> or <<<< within the target file. The tailored changes were then saved into the patches folder using the following command:

git diff > ./patches/<xx-name>.patch

Where xx is an incremental index that defines the sequence in which the patches must be applied.

The changes can be applied to a fresh pull of the st repo by running:

git apply ./patches/*