~kris/suckless

st

ref: dc714401a84532b6b172f3d5faf3314acedc83f9 st/README.md -rw-r--r-- 3.8 KiB
dc714401 — siduck76 add some credits 5 years ago

#st (Simple Terminal)

This is a custom suckless st build (credits to lukesmith's build for ligatures patch) and I've added some additional patches like newterm , rightclick paste , desktop entry ,sixel, live-reload xresources , dynamic cursor etc!.

#Patches:

  • alpha
  • Ligatures
  • sixel
  • scrollback
  • Clipboard
  • Alpha(Transparency)
  • Boxdraw
  • w3m
  • font2
  • right click paste
  • st desktop entry
  • newterm
  • anysize
  • anygeometry
  • xresources
  • sync patch ( Better draw timing to reduce flicker/tearing and improve animation smoothness )
  • live reload ( change colors/fonts on the fly ) and more...

#How to apply Xresources and live-reload ?

 #make an alias for this command

alias load="kill -USR1 $(pidof st)"
alias  use="xrdb merge"

command : use Xresourcesfile && load

#Xresources live-reload demo



DON'T SKIP THE README, if you want to have a similar setup / know default keybinds.

#Dependencies :


#void (most of these are already installed on arch distros)
xbps-install libXft-devel libX11-devel harfbuzz-devel libXext-devel libXrender-devel libXinerama-devel
 

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

#Install

cd st (this repo)
sudo make install

#other ST builds

  1. Default ST (main branch)
  2. Sixel St (sixel branch , with sixel graphics support)
  3. St with vim-browse (vim-browse branch , navigate within like vim)
  • Use a different st build ( clone its branch)

example: git clone https://github.com/siduck76/st --branch sixel

#Ram comparison with other terminals and speed test







#Default Keybindings

ctrl + shift + c        Copy  
ctrl + shift + v Paste
alt + comma Zoom in
alt + . Zoom out
alt + g Reset Zoom
alt + s Increase Transparency
alt + a Decrease Transparency
alt + m Reset Transparency
copy anything and right click on the terminal ( will paste the copied thing ) mod + shift + enter open a new terminal with same cwd ( current working directory ) alt + k scroll down alt + j scroll up

you can change all of these in config.h

#Themes/Fonts used

ls-icons: https://github.com/Yash-Handa/logo-ls
Xresources: onedark ( just xrdb merge xresourcesfile , do this everytime you make any change to xresources file ) from this repo itself.
Font: JetbrainsMono Nerd Font + material design icon fonts

a lil video demo to show zoom/alpha changing via keybinds

#Screenshots:









#Credits