- Alpha Focus Highlight
- anysize
- bold is not bright
- boxdraw
- defaultfontsize
- externalpipe
- font2
- newterm
- vim_browse
- workingdir
- xresources
After making any config changes that you want, but make
, sudo make install
it.
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.
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.
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.
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.