No description
![]() These are typically mapped in X11 to the side-buttons (backward/forwards) on the mouse. A comparison of the button numbers in SGR mode (first field): st old: 0 1 2 64 65 66 67 68 69 70 st new (it is the same as xterm now): 0 1 2 64 65 66 67 128 129 130 A script to test and reproduce it, first argument is "h" (on) or "l" (off): #!/bin/sh printf '\x1b[?1000%s\x1b[?1006%s' "$1" "$1" for n in 1 2 3 4 5 6 7 8 9 10; do printf 'button %d\n' "$n" xdotool click "$n" printf '\n\n' done |
||
---|---|---|
.gitignore | ||
arg.h | ||
config.h | ||
config.mk | ||
FAQ | ||
LEGACY | ||
LICENSE | ||
Makefile | ||
README | ||
README.md | ||
st.1 | ||
st.c | ||
st.h | ||
st.info | ||
TODO | ||
win.h | ||
x.c |
st - simple terminal emulator for X
This is my terminal that I use every day, and maybe it will work for you too.
- Based on st-0.8.4
- Default theme: Apprentice
- Default font: fantasque-sans
- Spare font:
Source Code Pro
Bindings
- Scrollback: with
shift-↑/↓
- Scrollback mouse:
shift
while scrolling the mouse - Change font size:
ctrl+shift-↑/↓
- Reset font size:
ctrl+shift-home
returns to default - Copy/Paste text: with
ctrl+shift-c
,ctrl+shift+v
andctrl+shift-insert
or right mouse click - Extract all visible URLs and present rofi/dmenu to select and open one:
ctrl+shift+U
Requirements
make
tool for buildinglibXft
library for fonts drawingXlib
header files for interacting with an X serverxurls
tool for extract urls from plain textFantasque
default font which you can change inconfig.h
Patches
- st-scrollback
- st-scrollback-mouse
- alpha
- externalpipe
- rightclickpaste
- font2
Simple installation
git clone https://github.com/ssilaev/st
cd st
sudo make install