Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gh0stzk/st-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

st-terminal

Beautiful, elegant, super fast and functional terminal emulator

Shot-2025-05-01-102324

My build is based entirely on St-Graphics. Specifically, on the graphics-with-patches branch.

Patches removed: Alpha, External pipe.

Patches included in this setup

Patches and changes that are included in the graphics implementation

This fork includes some patches and features that are not graphics-related per se, but are hard to disentangle from the graphics implementation:

  • Anysize - this patch is applied and on by default. If you want the "expected" anysize behavior (no centering), set anysize_halign and anysize_valign to zero in config.h.
  • Support for several XTWINOPS control sequences to query information that is sometimes required for image display (like cell size in pixels).
  • Support for decoration (underline) color and style. The decoration color is used to specify the placement id in Unicode placeholders, so it's hard to make them separate. The behavior of the underline is different from the upstream st: it's drawn behind the text and the thickness depends on the font size. You may need to tweak the code in xdrawglyphfontspecs in x.c if you don't like it.

Default Keybindings

(Zoom)
alt  + comma            Zoom in 
alt + . Zoom out
alt + g Reset Zoom

Installation

You may need these dependencies first.

# Void
xbps-install libXft-devel libX11-devel harfbuzz-devel libXext-devel libXrender-devel libXinerama-devel gd-devel

# Debian (and ubuntu probably)
apt install build-essential libxft-dev libharfbuzz-dev libgd-dev

# Nix
nix develop github:siduck/st

# Arch
pacman -S gd

# Fedora (or Red-Hat based)
dnf install gd-devel libXft-devel

# SUSE (or openSUSE)
zypper in -t pattern devel_basis
zypper in gd-devel libXft-devel harfbuzz-devel

# Install font-symbola and libXft-bgra

There are two ways to do this.

  1. Via Pacman, adding my repository. (Arch Linux)

Open /etc/pacman.conf and add my repo at the end:

[gh0stzk-dotfiles]
SigLevel = Optional TrustAll
Server = http://gh0stzk.github.io/pkgs/x86_64

Update the repositories, sudo pacman -Syy and now you can install it with sudo pacman -S st-gh0stzk

  1. Compiling yourself (all distros)
git clone https://github.com/gh0stzk/st-terminal.git
cd st-terminal
make

# or Install on your system directly

sudo make install

Apply your own colorscheme and font.

By default, the terminal comes with the Catppuccin Mocha colorscheme and the JetBrainsMono Nerd Font font, but you can change it to your preferences:

# Copy the Xresources file from this repository, and paste it into your HOME or wherever you want
# Edit it to your liking
# Now reload the config.

xrdb -merge pathToXresourcesFile && killall -USR1 st

From siduck repo:

Ram usage comparison with other terminals and speed test






( note : This benchmark was done on my low-end machine which has a pentium cpu so the speed results might vary )

About

Beautiful, elegant and functional terminal emulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages