brewery
notashelf /
15a4a97033d61c56a0c0031fe24cae6266e1417c

beer

public

A terminal worth pouring time into

Star0tarball
clone
ssh://git@git.notashelf.dev:33/notashelf/beer.git
doc/beer.toml.5.scd114 lines3.1 KB
1
beer.toml(5)
2
3
# NAME
4
5
beer.toml - configuration file for _beer_(1)
6
7
# DESCRIPTION
8
9
*beer* reads a TOML configuration file from
10
_$XDG_CONFIG_HOME/beer/beer.toml_, falling back to
11
_~/.config/beer/beer.toml_, or from the path given to *--config*. A missing
12
file uses the built-in defaults; a malformed file is reported and the defaults
13
are used. Unknown keys are ignored, so a file written for a newer *beer* still
14
loads.
15
16
Colours are X11 specs: either _#rrggbb_ or _rgb:rr/gg/bb_ (1-4 hex digits per
17
channel).
18
19
# [main]
20
21
*font* = _string_
22
	Primary font family, resolved via fontconfig. Default _monospace_.
23
24
*font-size* = _integer_
25
	Font size in pixels. Default _16_.
26
27
*term* = _string_
28
	The _TERM_ value exported to the child shell. Default _beer_.
29
30
*initial-cols* = _integer_, *initial-rows* = _integer_
31
	Initial window size in character cells. Default _80_ by _24_.
32
33
*pad-x* = _integer_, *pad-y* = _integer_
34
	Inner padding in pixels between the window edge and the cell grid.
35
	Default _2_ each.
36
37
*word-delimiters* = _string_
38
	Characters that break a word for double-click selection. Unset keeps the
39
	built-in set (whitespace and common punctuation, keeping _.-/:~\__ inside
40
	words).
41
42
# [colors]
43
44
*foreground* = _color_, *background* = _color_
45
	Default text and background colours. Default _#c5c8c6_ on _#181818_.
46
47
*cursor* = _color_
48
	Cursor colour. Unset follows the cell under the cursor.
49
50
*selection-foreground* = _color_, *selection-background* = _color_
51
	Selection colours. The background defaults to _#44475a_.
52
53
*regular* = _[8 colors]_, *bright* = _[8 colors]_
54
	The eight regular (indices 0-7) and bright (8-15) palette entries. Unset
55
	entries keep the xterm defaults.
56
57
*match-background* = _color_, *match-current-background* = _color_
58
	Highlight colours for search matches and the focused match.
59
60
*alpha* = _float_
61
	Background opacity, _0.0_ (transparent) to _1.0_ (opaque). Default _1.0_.
62
63
*bold-as-bright* = _bool_
64
	Render bold text with the bright palette variant. Default _true_.
65
66
# [cursor]
67
68
*style* = _string_
69
	Default cursor shape: _block_, _beam_ (or _bar_), or _underline_. An
70
	application may override this at runtime via DECSCUSR. Default _block_.
71
72
*blink* = _bool_
73
	Whether the cursor blinks by default. Default _false_.
74
75
# [scrollback]
76
77
*lines* = _integer_
78
	Lines of history retained for the main screen. Default _10000_.
79
80
# [bell]
81
82
*visual* = _bool_
83
	Briefly flash the screen on the terminal bell. Default _false_.
84
85
# [key-bindings]
86
87
A table of _chord_ = _action_ entries, merged over the built-in defaults. A
88
chord is modifiers and a key joined by _+_, e.g. _"Ctrl+Shift+C"_. An action of
89
_"none"_ unbinds the chord.
90
91
Recognized actions: _copy_, _paste_, _paste-primary_, _scrollback-up_,
92
_scrollback-down_, _scrollback-top_, _scrollback-bottom_, _search_,
93
_font-increase_, _font-decrease_, _font-reset_, _fullscreen_.
94
95
```
96
[key-bindings]
97
"Ctrl+Shift+C" = "copy"
98
"Ctrl+grave" = "none"
99
```
100
101
# [text-bindings]
102
103
A table of _chord_ = _text_ entries that send a literal string to the shell.
104
The text understands the escapes _\\e_, _\\n_, _\\r_, _\\t_, _\\\\_, and
105
_\\xNN_.
106
107
```
108
[text-bindings]
109
"Ctrl+Shift+Return" = "\\x1b\\r"
110
```
111
112
# SEE ALSO
113
114
_beer_(1)