2020-06-18 16:54:48 -04:00
|
|
|
# This is the default config file.
|
|
|
|
# It also shows all the default values, if you don't create the file.
|
|
|
|
|
2020-06-20 17:17:34 -04: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
|
2020-06-23 20:07:25 -04:00
|
|
|
# example.com:123
|
2020-06-18 16:54:48 -04:00
|
|
|
|
|
|
|
[a-general]
|
|
|
|
home = "gemini://gemini.circumlunar.space"
|
2020-06-20 17:17:34 -04:00
|
|
|
|
2020-06-18 16:54:48 -04: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
|
2020-06-21 16:53:12 -04:00
|
|
|
# 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-07-09 15:21:09 -04:00
|
|
|
# 'downloads' is the path to a downloads folder.
|
|
|
|
# An empty value means the code will find the default downloads folder for your system.
|
2020-07-09 19:28:39 -04:00
|
|
|
# If the path does not exist it will be created.
|
2020-07-09 15:21:09 -04:00
|
|
|
downloads = ""
|
2020-07-10 15:33:39 -04:00
|
|
|
# Max size for displayable content in bytes - after that size a download window pops up
|
|
|
|
page_max_size = 2097152 # 2 MiB
|
|
|
|
# Max time it takes to load a page in seconds - after that a download window pops up
|
|
|
|
page_max_time = 10
|
|
|
|
|
2020-06-18 16:54:48 -04:00
|
|
|
# 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 17:17:34 -04:00
|
|
|
max_pages = 30 # The maximum number of pages the cache will store
|