mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
doc: add foot.5 (configuration)
This commit is contained in:
parent
4b81fa3eab
commit
9855d18ba7
3 changed files with 91 additions and 1 deletions
|
|
@ -27,3 +27,12 @@ list of font name and font options.
|
|||
_Examples_:
|
||||
- Dina:weight=bold:slant=italic
|
||||
- Arial:size=12
|
||||
|
||||
|
||||
# CONFIGURATION
|
||||
|
||||
See *foot*(5)
|
||||
|
||||
# SEE ALSO
|
||||
|
||||
*foot*(5)
|
||||
|
|
|
|||
81
doc/foot.5.scd
Normal file
81
doc/foot.5.scd
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
foot(5)
|
||||
|
||||
# NAME
|
||||
foot - configuration file
|
||||
|
||||
# DESCRIPTION
|
||||
|
||||
*foot* uses the standard _unix configuration format_, with section based
|
||||
key/value pairs. The default section is unnamed (i.e. not prefixed
|
||||
with a _[section]_).
|
||||
|
||||
foot will search for a configuration file in the following locations,
|
||||
in this order:
|
||||
|
||||
- _XDG_CONFIG_HOME/footrc_
|
||||
- _~/.config/footrc_
|
||||
|
||||
# SECTION: default
|
||||
|
||||
*font*
|
||||
Font and style to use, in fontconfig format. See *FONT
|
||||
FORMAT*. Default: _monospace_.
|
||||
|
||||
*shell*
|
||||
Executable to launch. Typically a shell. Default: the user's
|
||||
default shell (as specified in _/etc/passwd_).
|
||||
|
||||
*term*
|
||||
Value to set the environment variable *TERM* to. Default: _foot_.
|
||||
|
||||
*scrollback*
|
||||
Number of scrollback lines. Default: _1000_.
|
||||
|
||||
*workers*
|
||||
Number of threads to use for rendering. Default: the number of
|
||||
available logical CPUs (including SMT). Note that this is not
|
||||
always the best value. In some cases, the number of physical
|
||||
_cores_ is better.
|
||||
|
||||
|
||||
# SECTION: cursor
|
||||
|
||||
*style*
|
||||
Configures the default cursor style, and is One of: _block_, _bar_
|
||||
or _underline_. Default: _block_.
|
||||
|
||||
*color*
|
||||
Two RRGGBB values specifying the foreground (text) and background
|
||||
(cursor) colors for the cursor. Default: inversed foreground and
|
||||
background colors. Note that this value only applies to the block
|
||||
cursor. The other cursor styles are always rendered with the
|
||||
foreground color.
|
||||
|
||||
# SECTION: colors
|
||||
|
||||
*foreground*
|
||||
Default RRGGBB foreground color. This is the color used when no
|
||||
ANSI color is being used. Default: _dcdccc_.
|
||||
|
||||
*background*
|
||||
Default RRGGBB background color. This is the color used when no
|
||||
ANSI color is being used. Default: _111111_.
|
||||
|
||||
*regular0*, *regular1* *..* *regular7*
|
||||
The eight basic ANSI colors. Default: _000000_, _cc9393_,
|
||||
_7f9f7f_, _d0bf8f_, _6ca0a3_, _dc8cc3_, _93e0e3_ and _dcdccc_ (a
|
||||
variant of the _zenburn_ theme).
|
||||
|
||||
*bright0*, *bright1* *..* *bright7*
|
||||
The eight bright ANSI colors. Default: _000000_, _dca3a3_,
|
||||
_bfebbf_, _f0dfaf_, _8cd0d3_, _dc8cc3_, _93e0e3_ and _ffffff_ (a
|
||||
variant of the _zenburn_ theme).
|
||||
|
||||
# FONT FORMAT
|
||||
|
||||
The font is specified in FontConfig syntax. That is, a colon-separated
|
||||
list of font name and font options.
|
||||
|
||||
_Examples_:
|
||||
- Dina:weight=bold:slant=italic
|
||||
- Arial:size=12
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
scdoc = dependency('scdoc', native: true)
|
||||
scdoc_prog = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true)
|
||||
|
||||
foreach man_src : ['foot.1.scd']
|
||||
foreach man_src : ['foot.1.scd', 'foot.5.scd']
|
||||
parts = man_src.split('.')
|
||||
name = parts[-3]
|
||||
section = parts[-2]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue