Go to file
doryan dccdd5397d some changes 2024-09-14 15:47:09 +04:00
.gitignore first commit: new st config 2024-09-10 23:20:17 +04:00
FAQ Update st to version 0.9 (2022-10-25) 2022-11-08 08:26:14 +01:00
LEGACY Initial commit 2020-07-18 12:47:46 +02:00
LICENSE Update st to version 0.9 (2022-10-25) 2022-11-08 08:26:14 +01:00
Makefile add ligatures 2024-09-10 18:43:02 +04:00
README.md Update README 2023-11-10 11:21:16 +01:00
TODO Initial commit 2020-07-18 12:47:46 +02:00
arg.h Initial commit 2020-07-18 12:47:46 +02:00
config.def.h some changes 2024-09-14 15:47:09 +04:00
config.h some changes 2024-09-14 15:47:09 +04:00
config.mk add ligatures 2024-09-10 18:43:02 +04:00
hb.c add ligatures 2024-09-10 18:43:02 +04:00
hb.h add ligatures 2024-09-10 18:43:02 +04:00
st-wide-glyphs.diff some changes 2024-09-14 15:47:09 +04:00
st.1 Initial commit 2020-07-18 12:47:46 +02:00
st.c merge: add scrolling by wheel 2024-09-11 19:46:30 +04:00
st.h feat: add scrolling by wheel 2024-09-11 19:37:12 +04:00
st.info Initial commit 2020-07-18 12:47:46 +02:00
win.h add ligatures 2024-09-10 18:43:02 +04:00
x.c to reject 2024-09-11 19:25:06 +04:00

st - simple terminal

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

Notes about this fork

This is a fork of st, the original repo can be found here: https://git.suckless.org/st/

The original st webpage is here: https://st.suckless.org/

Available patches

  • Alpha : This patch allows users to change the opacity of the background. Note that you need an X composite manager (e.g. compton, xcompmgr) to make this patch effective.
  • Clipboard : This trivial patch sets CLIPBOARD on selection.
  • font2 : This patch allows to add spare font besides default.
  • Wide glyph : This patch allows to display the full glyph instead of it being cut off. See also here

Colorscheme patch

The colorscheme patch is a custom patch, it is not the ones from colorscheme It is solarized.dark exported from https://terminal.sexy with a different bg and fg color. Also the defaultfg, defaultbg and defaultcs are not statics, otherwise it won't compile.

Previous available patches

  • Fix Keyboard Input : Add a few previously undefined keys. Removed as this was used for additional keys for zooming.

Applying/Removing Patches

Applying patches from this repository use:

  • applied all at once without committing:
git apply patches/*
  • applied as individual commits
git am patches/*

Applying patches from https://st.suckless.org/patches/ use:

# Add custom patch
patch -Np1 -i patches/custom.diff
or
patch < patch.diff

# Remove st-alpha-201806-16-0.81 patch
patch -R patches/st-alpha-20180616-0.8.1.diff

Requirements

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

Installation

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

Start st from a launcher like dmenu or rofi.

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.

Keyboard Shortcuts

Action Key Combination
Copy ctrl + shift + c
Paste ctrl + shift + v
Zoom In ctrl + shift + PageUp
Zoom Out ctrl + shift + PageDown
Reset Zoom ctrl + shift + Home

Credits