This is my personal patch set of the suckless' simple terminal, with automatic patching for Arch Linux.
The development has used git commit 4536f46
, although
compatibility with other commits may vary.
Copy all the patches to /etc/portage/patches/x11-terms/st
and install st-9999:
# mkdir -p /etc/portage/patches/x11-terms/st
# cp patches/*.diff /etc/portage/patches/x11-terms/st/
Run arch_cleaninstall.sh
. This simple script will:
- Clean previous artifacts
- Diff your config.theme.h, as described in the Manual install section.
- Apply the patches, build and install using the arch build system.
-
Clone st git repo:
$ git clone git://git.suckless.org/st
-
Checkout into the exact commit (?)
-
Move the patches into it
-
Apply the patches in order, or with this snippet:
#!/bin/bash for patch in *.diff; do echo "Applying patch $patch" patch -s -i "$patch" done;
-
Continue standard st build+install
To change my horrible color palette / font decisions, you can either:
- Modify
00-theme.diff
directly. - Modify
config.theme.h
, and diff the result withconfig.def.h
to create a new theme patch (this is done automatically in the Arch install script withdiff -b -u config.def.h config.theme.h > patches/00-theme.diff
Patches: