| RIO(5) | File Formats Manual | RIO(5) |
NAME
Rio - TOML configuration file format.
SYNTAX
Rio's configuration file uses the TOML format. The format's specification can be found at https://toml.io/en/v1.0.0.
LOCATION
Rio doesn't create the config file for you, but it looks for one in the following locations on UNIX systems:
- 1.
- $RIO_CONFIG_HOME/config.toml
- 2.
- $XDG_CONFIG_HOME/rio/config.toml
- 3.
- $HOME/.config/rio/config.toml
On Windows, the config file will be looked for in:
- 1.
- %USERPROFILE%\AppData\Local\rio\config.toml
GENERAL
theme = "<string>"
Default: None
confirm-before-quit = true | false
Default: true
draw-bold-text-with-light-colors = true | false
Default: false
env-vars = ["<string>",]
Example:
WINDOW
This section documents the [window] table of the configuration file.
width = <integer>
Default: 600
height = <integer>
Default: 400
mode = "Windowed" | "Maximized" | "Fullscreen"
Default: "Windowed"
opacity = <float>
Default: 1.0
blur = true | false
Default: false
decorations = "Enabled" | "Disabled" | "Transparent" | "Buttonless"
Enabled
Default: "Enabled"
background-image = { path = "<string>", opacity = <float> }
path
FONTS
This section documents the [fonts] table of the configuration file.
size = <float>
Default: 18.0
family = "<string>"
Default: "cascadiacode"
features = ["<string>",]
Example:
use-drawable-chars = true | false
Default: true
disable-warnings-not-found = true | false
Default: false
additional-dirs = ["<string>",]
regular = { family = "<string>", style = "<string>", width = "<string>", weight = <integer> }
Default: { family = "cascadiacode", style = "Normal", width = "Normal", weight = 400 }
bold = { family = "<string>", style = "<string>", width = "<string>", weight = <integer> }
Default: { family = "cascadiacode", style = "Normal", width = "Normal", weight = 800 }
italic = { family = "<string>", style = "<string>", width = "<string>", weight = <integer> }
Default: { family = "cascadiacode", style = "Italic", width = "Normal", weight = 400 }
bold-italic = { family = "<string>", style = "<string>", width = "<string>", weight = <integer> }
Default: { family = "cascadiacode", style = "Italic", width = "Normal", weight = 800 }
extras = [{ family = "<string>" },]
emoji = { family = "<string>" }
Default: Built-in Twemoji font
hinting = true | false
Default: true
symbol-map = [{ chars = "<string>", family = "<string>" },]
COLORS
This section documents the [colors] table of the configuration file.
Colors are specified using their hexadecimal values with a # prefix: #RRGGBB or #RRGGBBAA.
background = "<string>"
foreground = "<string>"
cursor = "<string>"
vi-cursor = "<string>"
black, red, green, yellow, blue, magenta, cyan, white = "<string>"
light-black, light-red, light-green, light-yellow, light-blue, light-magenta, light-cyan, light-white = "<string>"
dim-black, dim-red, dim-green, dim-yellow, dim-blue, dim-magenta, dim-cyan, dim-white = "<string>"
tabs = "<string>"
tabs-foreground = "<string>"
tabs-active = "<string>"
tabs-active-foreground = "<string>"
tabs-active-highlight = "<string>"
bar = "<string>"
split = "<string>"
search-match-background = "<string>"
search-match-foreground = "<string>"
search-focused-match-background = "<string>"
search-focused-match-foreground = "<string>"
selection-background = "<string>"
selection-foreground = "<string>"
CURSOR
This section documents the [cursor] table of the configuration file.
shape = "block" | "underline" | "beam"
Default: "block"
blinking = true | false
Default: false
blinking-interval = <integer>
Default: 800
SCROLL
This section documents the [scroll] table of the configuration file.
multiplier = <float>
Default: 3.0
divider = <float>
Default: 1.0
NAVIGATION
This section documents the [navigation] table of the configuration file.
mode = "NativeTab" | "Tab" | "Plain"
Navigation display mode.
Default: "Tab"
clickable = true | false
Default: false
use-current-path = true | false
Default: false
color-automation = [{ program = "<string>", path = "<string>", color = "<string>" },]
SHELL
This section documents the [shell] table of the configuration file.
program = "<string>"
Default: System default shell
args = ["<string>",]
EDITOR
This section documents the [editor] table of the configuration file.
program = "<string>"
Default: "vi"
args = ["<string>",]
BINDINGS
This section documents the [bindings] table of the configuration file.
keys = [{ key = "<string>", with = "<string>", action = "<string>" },]
key
with
action
RENDERER
This section documents the [renderer] table of the configuration file.
performance = "High" | "Low"
Default: "High"
backend = "Automatic" | "GL" | "Vulkan" | "DX12" | "Metal"
Default: "Automatic"
disable-renderer-when-unfocused = true | false
Default: false
level = <integer>
Default: 3
DEVELOPER
This section documents the [developer] table of the configuration file.
log-level = "OFF" | "ERROR" | "WARN" | "INFO" | "DEBUG" | "TRACE"
Default: "OFF"
enable-log-file = true | false
Default: false
enable-fps-counter = true | false
Default: false
SEE ALSO
BUGS
Found a bug? Please report it at https://github.com/raphamorim/rio/issues.
MAINTAINERS
- •
- Raphael Amorim <rapha850@gmail.com>
| 2026-05-13 |