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-03-11 02:52:41 +00:00
+ transparency
2018-01-18 07:01:16 +00:00
+ copy to clipboard
2018-04-25 20:15:11 +00:00
+ ~~Solarized colors (light and dark toggleable)~~ (Change to your own colors, see no value of toggle)
2018-01-18 07:01:16 +00:00
+ vertcenter
+ scrollback with keyboard
+ scrollback with mouse
2018-04-25 20:15:11 +00:00
+ updated to latest version 0.8.1
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
2018-01-19 02:33:28 +00:00
+ Default font is system "mono" at 14pt
+ 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-04-25 20:15:11 +00:00
+ Applied colors, insipred by Pop! OS colors.
2018-01-19 02:33:28 +00:00
2018-01-18 15:51:08 +00:00
## Terminal-specific mappings
2018-01-19 02:33:28 +00:00
(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
2018-01-19 21:32:00 +00:00
## Installation for newbs
2018-04-25 20:58:56 +00:00
### Requirements for build
2018-01-19 21:32:00 +00:00
2018-04-25 20:15:11 +00:00
Install `base-devel` - compiler and stuff (most distros have).
Install code depndencies (voidlinux - most distro should have something similar)
+ `fontconfig-devel`
+ `libX11-devel`
+ `libXft-devel`
2018-01-19 21:32:00 +00:00
2018-04-25 20:58:56 +00:00
### Make & install
2018-04-25 20:53:54 +00:00
2018-01-19 21:32:00 +00:00
```
make
sudo make install
```
2018-02-06 04:33:39 +00:00
2018-04-25 20:15:11 +00:00
## Custom changes (`config.def.h` or `config.h`)
2018-04-25 20:49:04 +00:00
### Alpha
+ Change `alpha` value (86 LOC), be default set `0xcd` .
+ Less transparent set to `0xdd` or `0xee` .
+ For non transparent terminal set to `0xff` .
### Colorname
2018-04-25 20:53:54 +00:00
+ Change `colorname[]` array values (88 LOC), default colours inspired by colors used in Pop! OS.
2018-04-25 20:49:04 +00:00
+ Numbers of 0 - 15 are usual terminal colors. Changed them to your liking.
2018-04-25 20:58:56 +00:00
+ Change `bg` to your desired terminal background color.
2018-04-25 20:49:04 +00:00
+ Change `fg` to your desired terminal foreground color.
+ Change `cursor` to your desired terminal cursor color.