~kris/suckless

st

ref: 374356f4acaf446bcf1d7a7bb80cf8e8f6fffcc4 st/README.md -rw-r--r-- 2.6 KiB
374356f4 — siduck76 live-reload xresources demo 5 years ago

#st (Simple Terminal)

My custom terminal build based on (lukesmith's with some additional patches like newterm , rightclick paste , desktop entry ,sixel, live-reload , anygeometry and sane keybinds) (is functional enough and complete for a terminal).

#Patches:

  • Ligatures
  • Clipboard
  • Alpha(Transparency)
  • Boxdraw
  • w3m
  • font2
  • right click paste
  • st desktop entry
  • newterm
  • anysize
  • anygeometry
  • 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)"

xrdb merge Xresourcesfile && load

#Xresources live-reload



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

#Dependencies :

libXft-devel libX11-devel harfbuzz-devel libXext-devel libXrender-devel libXinerama-devel ( on void linux , these are probably already installed on your system if you use arch based or debian I think)

#Install

cd st & make && sudo make install

#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
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: