st/README.md

50 lines
1.9 KiB
Markdown
Raw Normal View History

2018-01-21 19:15:29 +00:00
# Luke's build of st - the simple (suckless) terminal
2009-05-10 12:17:09 +00:00
2018-07-07 07:28:01 +00: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 12:17:09 +00:00
2018-07-07 07:28:01 +00: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 07:28:01 +00:00
+ Shift+Mouse wheel will as well.
2018-06-25 23:28:26 +00:00
+ Alt-u and Alt-d scroll back/forward in history a page at a time.
2018-07-07 07:28:01 +00: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 07:28:01 +00:00
+ Vertcenter
+ Optional solarized colors (light and dark toggleable)
+ updated to latest version 0.8.1
2018-07-07 07:28:01 +00:00
The following additional bindings were added before I forked this:
2018-01-18 15:51:08 +00:00
+ Scroll through history -- Shift+PageUp/PageDown or Shift+Mouse wheel
+ Increase/decrease font size -- Shift+Alt+PageUp/PageDown
2018-01-22 00:42:14 +00:00
+ Return to default font size -- Shift+Alt+Home
2018-01-18 15:51:08 +00:00
+ Paste -- Shift+Insert
## Installation for newbs
```
make
sudo make install
```
2018-02-06 04:33:39 +00: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 07:28:01 +00: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 07:28:01 +00:00
patch -R < xresources.patch
```
2018-07-07 07:28:01 +00:00
On top of that, you can disable alpha and enable fully solarized colors by
running the following:
2018-06-25 23:28:26 +00:00
```
2018-07-07 07:28:01 +00:00
patch < solarized-alpha-toggle.patch
2018-06-25 23:28:26 +00:00
```