1
0
mirror of https://github.com/alrayyes/st synced 2023-11-14 15:56:30 +00:00
st/README.md

56 lines
1.5 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-01-21 19:15:29 +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 patches added:
2009-05-10 12:17:09 +00:00
2018-01-18 07:01:16 +00:00
+ copy to clipboard
+ solarized colors (light and dark toggleable)
+ vertcenter
+ scrollback with keyboard
+ scrollback with mouse
2009-05-10 12:17:09 +00:00
2018-01-21 19:15:29 +00:00
## My own additions
2009-05-10 12:17:09 +00:00
+ Default font is system "mono" at 14pt
2018-01-21 19:15:29 +00:00
+ Fixed transparency patch (see below for installation)
+ Toggle light/dark mode now Alt-Tab instead of the frequently conflicting F6
+ Alt-k and Alt-j scroll back/foward in history one line at a time
+ Alt-u and Alt-d scroll back/foward in history a page at a time
2018-01-18 15:51:08 +00:00
## Terminal-specific mappings
(Additions before me.)
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
```
### Transparency
2018-01-21 19:15:29 +00:00
If you want transparency, run the following. (You will also need to have a composite manager, such as compton or xcompmgr running for the transparency to appear.)
```
make clean
patch < patches/transparency.diff
make
sudo make install
```
And to remove transparency, just unapply the diff patch and reinstall.
```
make clean
patch -R < patches/transparency.diff
make
sudo make install
```
2018-02-06 04:33:39 +00:00
You can change the transparency value by changing the `alpha` variable in the `config.h` file.