Go to file
David JULIEN c0ce7e475b fix: color codes in config.def.h 2023-01-08 17:46:23 +01:00
patches feat: font2 patch 2021-03-15 23:25:46 +01:00
FAQ FAQ: document the color emojis crash issue which affected some systems is fixed 2022-09-16 23:07:09 +02:00
LEGACY LEGACY: typo. 2012-09-18 19:08:03 +02:00
LICENSE LICENSE: bump year 2022-01-10 17:11:17 +01:00
Makefile feat: fresh restart 2021-03-15 23:25:37 +01:00
README.md feat: manpage + README 2021-03-15 23:28:33 +01:00
TODO Remove old TODO entry. 2015-04-13 17:06:11 +02:00
arg.h don't modify argv, use a counter 2018-03-20 21:22:27 +01:00
config.def.h fix: color codes in config.def.h 2023-01-08 17:46:23 +01:00
config.mk bump version to 0.9 2022-10-04 19:40:30 +02:00
st.1 feat: manpage + README 2021-03-15 23:28:33 +01:00
st.c Merge branch 'upstream' 2023-01-08 15:17:19 +01:00
st.h Merge branch 'upstream' 2023-01-08 15:17:19 +01:00
st.info Partially add back in "support REP (repeat) escape sequence" 2020-05-30 22:04:28 +02:00
win.h code-golfing: cleanup osc color related code 2022-04-19 11:43:37 +02:00
x.c Merge branch 'upstream' 2023-01-08 15:17:19 +01:00


Swy7ch' fork of st

This is my fork of suckless' terminal emulator, st. It is tweaked to match my needs and comes with just a few patches:


  • Alt+u / Alt+d .....Scroll a whole page up/down
  • Alt+k / Alt+j .....Scroll a line up/down
  • Alt+PgUp / Alt+PgDn .....Zoom in/out
  • Alt+c .....Copy to xclipboard
  • Alt+v .....Paste from xclipboard
  • Alt+o .....Copy a command output to xclipboard, through dmenu [1]
  • Alt+l .....Follow links through dmenu [2]
  • Alt+y .....Copy links through dmenu [2]

[1] Requires st-copyout from my scripts repo

[2] Requires st-urlhandler from my scripts repo

Colorscheme and font

Colors, fonts and other variables are set through xrdb, by sourcing a .Xresources file.

That's it!

No need for anything else. Enjoy!

st - simple terminal

st is a simple terminal emulator for X which sucks less.


In order to build st you need the Xlib header files.


Edit config.mk to match your local setup (st is installed into the /usr/local namespace by default).

Afterwards enter the following command to build and install st (if necessary as root):

make clean install

Running st

If you did not install st with make clean install, you must compile the st terminfo entry with the following command:

tic -sx st.info

See the man page for additional details.


Based on Aurélien APTEL bt source code.