Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

viperML/st

Repository files navigation

st

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.

Build and install guide

Gentoo

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/

Arch

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.

Manual / Other distributions

  • 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

Customizing

To change my horrible color palette / font decisions, you can either:

  • Modify 00-theme.diff directly.
  • Modify config.theme.h, and diff the result with config.def.h to create a new theme patch (this is done automatically in the Arch install script with diff -b -u config.def.h config.theme.h > patches/00-theme.diff

Attribution

Patches:

LICENSE