amfora/default-config.toml

39 lines
1.5 KiB
TOML
Raw Normal View History

2020-06-18 20:54:48 +00:00
# This is the default config file.
# It also shows all the default values, if you don't create the file.
2020-06-20 21:17:34 +00:00
# All URL values may omit the scheme and/or port, as well as the beginning double slash
# Valid URL examples:
# gemini://example.com
# //example.com
# example.com
# example.com:1901
2020-06-18 20:54:48 +00:00
[a-general]
home = "gemini://gemini.circumlunar.space"
2020-06-20 21:17:34 +00:00
2020-06-18 20:54:48 +00:00
# What command to run to open a HTTP URL. Set to "default" to try to guess the browser,
# or set to "off" to not open HTTP URLs.
# If a command is set, than the URL will be added (in quotes) to the end of the command.
# A space will be prepended if necessary.
http = "default"
search = "gemini://gus.guru/search" # Any URL that will accept a query string can be put here
color = true # Whether colors will be used in the terminal
bullets = true # Whether to replace list asterisks with unicode bullets
# A number from 0 to 1, indicating what percentage of the terminal width the left margin should take up.
left_margin = 0.15
max_width = 100 # The max number of columns to wrap a page's text to. Preformatted blocks are not wrapped.
2020-06-18 20:54:48 +00:00
[bookmarks]
# Make sure to quote the key names if you edit this part yourself
# Example:
# "CAPCOM" = "gemini://gemini.circumlunar.space/capcom/"
# Options for page cache - which is only for text/gemini pages
# Increase the cache size to speed up browsing at the expense of memory
[cache]
# Zero values mean there is no limit
max_size = 0 # Size in bytes
2020-06-20 21:17:34 +00:00
max_pages = 30 # The maximum number of pages the cache will store