This repo is a fork of st - a simple terminal emulator for X which sucks less.
In order to build st you need the Xlib
header files.
make
sudo make install
Following patches are already applied:
- alpha - for transparent background
- anysize - makes the inner border size dynamic
- clipboard - enable copy after select text
- dracula - nice theme
- scrollback - scroll back through terminal output (
shift + PgUp/PgDn
orshift + mouse wheel
)
To apply another patch use following command:
git apply -3 --ignore-whitespace /path/to/patch.diff
But be careful. When patch modifies config.def.h
copy these changes to config.h
and reset state of first file:
git reset HEAD config.def.h
git checkout -- config.def.h
Then repeat installation process.
Add upstream
to original repo:
git remote add upstream git://git.suckless.org/st
Every time you want to sync type:
git fetch upstream
git checkout master
git merge upstream/master
This brings your master
branch into sync with the upstream repository, without losing your local changes.
For reference check this github article
Then repeat installation process.