My own build of st, with the patches I use and a few features brought over from Luke Smith's build.
I'd recommend using a nerd font (mononoki in my case) which you can set in xresources
or in config.h
, I've been using the v2.0 release since later versions have caused me problems with polybar before. If you don't, st will default to using your system's default mono
font. For a backup font (possible thanks the the fong2
patch), this build uses Noto Color Emoji, so grab that too. If you want to use different fonts, just change them in config.h
. For emojis and some other unicode characters to work in st, you'll need libxft-bgra from the AUR.
You'll also need libX11
, libXft
as well as make
, but any normal linux user will already have these installed.
Just clone and make:
git clone https://github.com/ehewins/st
cd st
sudo make clean install
- Can be configured via Xresources, useful for changing your colour scheme without having to recompile.
- Scroll using
ctrl-shift-j/k
/ctrl-shift-↑/↓
orctrl-shift-u/d
for faster scrolling. - Zoom using
alt-shift-j/k
. - Actually displays an icon in tint2, thanks to the
netwmicon
patch - Open a new terminal in the current working directory with
ctrl-shift-enter
- Luke Smith's externalpipe scripts:
- Follow urls using
alt-shift-l
- Copy urls to clipboard using
alt-shift-y
- Copy the output of commands to clipboard using
alt-shift-o
- Follow urls using
- Copying and pasting highlighted text is done with
ctrl-shift-c/v
anysize
bold-is-not-bright
boxdraw_v2
externalpipe
andexternalpipe-eternal
font2
glyph-wide-support
netwmicon
newterm
scrollback
xresources
+ some fixes (see patches folder)