WANDEX / st

 patch set & build of st-0.8.4

Home Page:https://st.suckless.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

patch set compatible with st-0.8.4 (2020-06-19)

Extra stuff added to vanilla st:

Installation

After making any config changes that you want, but make, sudo make install it.

Configuration

After make command config.h file will be generated, based from config.def.h.
You will definitely need to remap the keys because I'm using the colemak, not qwerty layout.
Edit default variable values in config.h.

Make a backup of your config.h before make clean, as by default it removes config.h as well.
sudo make install to apply config changes.

About configuration structure

patch/-- all dirs except patch/include/ dir, contain .diff files.
patch/include/-- there is some patch specific .[c|h] files with recognizable patch name.
patch/include/config/-- parts of config code. So, if you want to edit keyboard keys - edit them in keys.h etc.

include.[c|h] -- includes all separate patch specific files. Those files contain separate patch specific functions. include.c & include.h -- the files themselves are the only files that is included inside st.c.

This makes st.c more readable, and .diff files contain only changes that directly affect the main code.

About .diff patch files included inside patch/ dir

Almost all patches contain changes and are not original, many .diff files are merged because the same parts of the files are being edited.

That is why I have included links to the original patch pages to make it easier to find them.

If you keep the original patching order and apply the command patch -p1 -f -R in reverse order to each.
The files will revert to their original state, without failed hunks.

Do not forget to remove from include.c & include.h patch specific files for patches that you are reversed,
and update config files in patch/include/config/, as they are not affected by .diff files.

Notes on Emojis and Special Characters

If st crashes when viewing emojis, install libxft-bgra from the AUR.

Note that some special characters may appear truncated if too wide. You might want to manually set your prefered emoji/special character font to a lower size in the config.h file to avoid this. By default, JoyPixels is used at a smaller size than the usual text.

The order of applying a set of patches - from the first to the last.
For more details visit official st page st.suckless.org.

About

 patch set & build of st-0.8.4

https://st.suckless.org

License:MIT License


Languages

Language:C 96.6%Language:Roff 2.1%Language:Makefile 1.3%