map.conf - settings of carbonian-map
/etc/carbonian/map.conf is read first, then
~/.config/carbonian/map.conf, which wins. One key value per line;
# starts a comment; a bad line is ignored. It is read when the map
starts. Options on the command line win over it.
- start LAT LON
[ZOOM]
- Where it opens, such as 23.55S 46.63W 11 or -23.55 -46.63
11.
- mode braille
- braille or pixel.
- pixel-scale
2
- 1 to 4.
- palette
auto
- auto (the system's), a name, or a .toml file.
- passthrough
no
- yes wraps the sixel for tmux's passthrough.
- data
DIR
- A folder where layer files are looked up; repeatable, the first match
wins.
- layer NAME
on|off
- Turn a built-in layer on or off: countries-110m, countries-50m, places,
saopaulo, cursino.
- layer NAME
FILE KIND ZOOM-FROM ZOOM-TO COLOUR [labels=ZOOM]
[cover=S,W,N,E]
- Add or replace a layer. KIND is countries (GeoJSON
polygons), places (GeoJSON points with name and pop_max) or
osm (Overpass JSON). The layer is drawn from ZOOM-FROM up to, not
including, ZOOM-TO. COLOUR is a colour name, grey, default or 0 to
15 (braille only for osm). labels= is the zoom from which an osm
layer writes suburb names; cover= is the box where the layer is
complete, so the layers before it are not drawn inside it.
/etc/carbonian/map.conf
~/.config/carbonian/map.conf