1
0
mirror of https://codeberg.org/cage/tinmop/ synced 2024-12-14 22:54:02 +01:00
tinmop/etc/shared.conf
cage 8230056152 - [gemini] made fetching of favicon opt-in
by default tinmop  will not fetch favicon.txt  anymore, this feature
  must be enabled by user using a configuration directive.
2021-02-21 12:23:01 +01:00

176 lines
4.1 KiB
Plaintext

# a line starting with a '#' is a comment
# The server instance name
# add this entry to your file (the one in your home)
# server = test.server.org
# your username
# add this entry to your file (the one in your home)
# username = username
# theme
use "default-theme.conf"
# maximum number of attachments allowed for a single toot
# default is 4
#max-numbers-allowed-attachments = 4
# maximum number of characters allowed for a single toot
# default is 500
#max-message-length = 500
# maximum number of characters allowed for reporting an user to
# instance's admin
#default is 100
#max-report-comment-length = 100
# Character to use when replying to a message
reply-quoted-character = "> "
# delete the command history entries that are older than this number
# of days
purge-history-days-offset = -7
# delete the cache entries that are older than this number of days
purge-cache-days-offset = -7
# chosen editor (as shell command line) for compose a message
editor = "nano --locking"
# color parts of a displayed message according to a regular expression
# syntax is regular expression color attribute
# valid color are specified using RGB triplets as #RRGGBB or color names
# valid color names are:
# - red
# - green
# - yellow
# - blue
# - magenta
# - cyan
# - white
#
# valid attributes are:
# - bold
# - italic
# - underline
# - blink
# attribute is optional
# Some examples follows, order matters!
# http links
color-regexp = "http(s)?://[^ ]+" #ff0000
# gemini address header
color-regexp = "-> gemini://[^ ]+" yellow underline
#gemini links
color-regexp = "gemini://[^ ]+" #ff0000
# (c) and (r)
color-regexp = "(?i)(\\(c\\))|(\\(r\\))" #ff0000 bold
# date yyyy-mm-dd
color-regexp = "[0-9]{4}-[0-9]?[0-9]-[0-9]?[0-9]" #0000ff bold
# numbers
color-regexp = "-?[0-9]+(.[0-9]+)?%" #ff00ff bold
# *bold*
color-regexp = "\*[^[:space:]*]+\*" #ffff00 bold
# _underline_
color-regexp = "_[^[:space:]_]+_" #ffff00 underline
# /italic/ , commented as interferes with file path and URI
#color-regexp = "/[^/]+/" #ffff00 italic
# by default polls uses that
color-regexp = "⯀" green bold
color-regexp = "The poll has expired" #ff00ff bold
# HH:MM
color-regexp = "[012][0-9]:[0123456][0-9]" cyan bold
# your username mentioned
#color-regexp = "your-username" #ff00ff bold
# gemini colorization
# gemini links
color-regexp = "→ .+" blue bold
# non gemini links
color-regexp = "➶ .+" magenta bold
# header level 1
color-regexp = "🞂 .+" white bold
# header level 2
color-regexp = "🞓 .+" blue bold
# header level 3
color-regexp = "🞐 .+" yellow bold
# header level 4
color-regexp = "🞎 " yellow
# list bullet
color-regexp = "• " blue bold
# stream statuses
color-regexp = ":completed" green bold
color-regexp = ":aborted" red
color-regexp = ":rendering" cyan
# the signature file path relative to $HOME
# signature-file = ".signature"
# you can filter off users using regexp
# ignore-user-regexp = "@domain-name$"
# ignore-user-regexp = "^user-name@domain-name"
# Use gemini favicon?
# see gemini://mozz.us/files/rfc_gemini_favicon.gm
# gemini.fetch.favicon = no
# you can instruct the program to open some non gemini link with a
# program installed with your system like below
# syntax open "REGEXP" with "PROGRAM-NAME" [use cache]
# example:
#
# open "https?://.+mp3" with "mpv"
#
# you can open mpv in a new terminal this way:
#
# open "https?://.+mp3" with "xterm -e mpv"
#
# open png files with gimp but cache them before
# ▼▼▼▼▼▼▼▼▼
# open "https?://png$" with "gimp" use cache