st/README.md

50 lines
1.9 KiB
Markdown
Raw Normal View History

2018-01-21 20:15:29 +01:00
# Luke's build of st - the simple (suckless) terminal
2009-05-10 14:17:09 +02:00
2018-07-07 09:28:01 +02:00
Forked from [https://github.com/shiva/st](https://github.com/shiva/st) for simplicity's sake, which is the [suckless terminal (st)](https://st.suckless.org/) with some additional features:
2009-05-10 14:17:09 +02:00
2018-07-07 09:28:01 +02:00
+ Adjustable transparency/alpha
+ Compatibility with `Xresources` and `pywal` for dynamic colors
+ Copy to clipboard (alt-shift-c)
+ Default font is system "mono" at 14pt, meaning the font will match your system font.
+ Hold alt and press either ↑/↓ or the vim keys k/j to move up/down in the terminal.
2018-07-07 09:28:01 +02:00
+ Shift+Mouse wheel will as well.
2018-06-26 01:28:26 +02:00
+ Alt-u and Alt-d scroll back/forward in history a page at a time.
2018-07-07 09:28:01 +02:00
+ Alt-PageUp and Alt-PageDown will do the same.
+ Zoom in/out with Alt+Shift+k/j or u/d for larger intervals.
2018-07-07 09:28:01 +02:00
+ Vertcenter
+ Optional solarized colors (light and dark toggleable)
+ updated to latest version 0.8.1
2018-07-07 09:28:01 +02:00
The following additional bindings were added before I forked this:
2018-01-18 16:51:08 +01:00
+ Scroll through history -- Shift+PageUp/PageDown or Shift+Mouse wheel
+ Increase/decrease font size -- Shift+Alt+PageUp/PageDown
2018-01-22 01:42:14 +01:00
+ Return to default font size -- Shift+Alt+Home
2018-01-18 16:51:08 +01:00
+ Paste -- Shift+Insert
## Installation for newbs
```
make
sudo make install
```
2018-02-06 05:33:39 +01:00
Obviously, `make` is required to build. `fontconfig` is required for the default build, since it asks `fontconfig` for your system monospace font. It might be obvious, but `libX11` and `libXft` are required as well. Chances are, you have all of this installed already.
## Custom changes (`config.def.h` or `config.h`)
2018-07-07 09:28:01 +02:00
Now by default, the terminal is transparent and uses an Xresources patch that
looks for your Xresources colors for the colors of st. You can disable the
Xresources patch by reversing it as below:
```
2018-07-07 09:28:01 +02:00
patch -R < xresources.patch
```
2018-07-07 09:28:01 +02:00
On top of that, you can disable alpha and enable fully solarized colors by
running the following:
2018-06-26 01:28:26 +02:00
```
2018-07-07 09:28:01 +02:00
patch < solarized-alpha-toggle.patch
2018-06-26 01:28:26 +02:00
```