Skip to content

vilari-mickopf/st

Repository files navigation

st - simple terminal

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

Demo

Patches

  • onedark theme
  • anysize - resize to any pixel size, makes the inner border size dynamic
  • appsync - better draw timing to reduce flicker/tearing and improve animation smoothness
  • boxdraw - proper rendering of lines/blocks/braille characters for gapless alignment
  • column - when shrinking the width of the window, invisible content is kept instead of removed, such that it becomes visible when the width is increased again
  • externalpipe - reading and writing st's screen through a pipe - extracting all visible URLs and present dmenu to select and open one
  • externalpipe-eternal - using history from scrollback for externalpipe
  • newterm - new terminal in current directory
  • scrollback - scroll back through terminal output using Shift+{PageUp, PageDown}
  • scrollback-mouse - scrolling using MouseWheel
  • scrollback-mouse-altscreen - allow scrollback only when not in MODE_ALTSCREEN
  • spoiler - use inverted defaultbg/fg for selection when bg/fg are the same
  • vertcenter - vertically center lines in the space available if you have set a larger chscale in config.h

Requirements

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

pacman -S libxft

Installation

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.

Credits

  • suckless
  • Based on Aurélien APTEL bt source code.