2020-05-08 15:45:43 +02:00
|
|
|
# a line starting with a '#' is a comment
|
|
|
|
# The server instance name
|
|
|
|
# add this entry to your file (the one in your home)
|
2020-07-08 18:34:48 +02:00
|
|
|
# server = test.server.org
|
2020-05-08 15:45:43 +02:00
|
|
|
|
|
|
|
# your username
|
|
|
|
# add this entry to your file (the one in your home)
|
2020-07-08 18:34:48 +02:00
|
|
|
# username = username
|
2020-05-08 15:45:43 +02:00
|
|
|
|
|
|
|
# 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
|
2020-05-18 20:47:33 +02:00
|
|
|
#max-message-length = 500
|
2020-05-08 15:45:43 +02:00
|
|
|
|
|
|
|
# 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
|
2020-07-08 18:34:48 +02:00
|
|
|
reply-quoted-character = "> "
|
2020-05-08 15:45:43 +02:00
|
|
|
|
|
|
|
# delete the command history entries that are older than this number
|
|
|
|
# of days
|
2020-07-08 18:34:48 +02:00
|
|
|
purge-history-days-offset = -7
|
2020-05-08 15:45:43 +02:00
|
|
|
|
|
|
|
# delete the cache entries that are older than this number of days
|
2020-07-08 18:34:48 +02:00
|
|
|
purge-cache-days-offset = -7
|
2020-05-08 15:45:43 +02:00
|
|
|
|
|
|
|
# chosen editor (as shell command line) for compose a message
|
2020-07-08 18:34:48 +02:00
|
|
|
editor = "nano --locking"
|
2020-05-08 15:45:43 +02:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2020-06-22 13:58:04 +02:00
|
|
|
# Some examples follows, order matters!
|
2020-05-08 15:45:43 +02:00
|
|
|
|
2020-09-05 17:02:00 +02:00
|
|
|
# http links
|
2020-07-08 18:34:48 +02:00
|
|
|
color-regexp = "http(s)?://[^ ]+" #ff0000
|
2020-05-08 15:45:43 +02:00
|
|
|
|
2020-09-05 17:02:00 +02:00
|
|
|
# gemini address header
|
|
|
|
|
2020-07-08 18:34:48 +02:00
|
|
|
color-regexp = "-> gemini://[^ ]+" yellow underline
|
2020-06-22 13:58:04 +02:00
|
|
|
|
2020-09-05 17:02:00 +02:00
|
|
|
#gemini links
|
|
|
|
|
2020-07-08 18:34:48 +02:00
|
|
|
color-regexp = "gemini://[^ ]+" #ff0000
|
2020-06-22 13:58:04 +02:00
|
|
|
|
2020-09-05 17:02:00 +02:00
|
|
|
# (c) and (r)
|
|
|
|
|
2020-07-08 18:34:48 +02:00
|
|
|
color-regexp = "(?i)(\\(c\\))|(\\(r\\))" #ff0000 bold
|
2020-05-08 15:45:43 +02:00
|
|
|
|
2020-09-05 17:02:00 +02:00
|
|
|
# date yyyy-mm-dd
|
|
|
|
|
2020-07-08 18:34:48 +02:00
|
|
|
color-regexp = "[0-9]{4}-[0-9]?[0-9]-[0-9]?[0-9]" #0000ff bold
|
2020-05-08 15:45:43 +02:00
|
|
|
|
2020-09-05 17:02:00 +02:00
|
|
|
# numbers
|
|
|
|
|
2020-07-13 17:27:46 +02:00
|
|
|
color-regexp = "-?[0-9]+(.[0-9]+)?%" #ff00ff bold
|
2020-05-08 15:45:43 +02:00
|
|
|
|
2020-09-05 17:02:00 +02:00
|
|
|
# *bold*
|
|
|
|
|
2020-09-12 10:23:26 +02:00
|
|
|
color-regexp = "\*[^[:space:]*]+\*" #ffff00 bold
|
2020-05-08 15:45:43 +02:00
|
|
|
|
2020-09-05 17:02:00 +02:00
|
|
|
# _underline_
|
|
|
|
|
2020-09-12 10:28:07 +02:00
|
|
|
color-regexp = "_[^[:space:]_]+_" #ffff00 underline
|
2020-05-08 15:45:43 +02:00
|
|
|
|
2020-09-12 10:28:07 +02:00
|
|
|
# /italic/ , commented as interferes with file path and URI
|
2020-09-05 17:02:00 +02:00
|
|
|
|
|
|
|
#color-regexp = "/[^/]+/" #ffff00 italic
|
|
|
|
|
|
|
|
# by default polls uses that
|
2020-05-31 12:47:48 +02:00
|
|
|
|
2020-07-08 18:34:48 +02:00
|
|
|
color-regexp = "⯀" green bold
|
2020-05-31 12:47:48 +02:00
|
|
|
|
2020-07-08 18:34:48 +02:00
|
|
|
color-regexp = "The poll has expired" #ff00ff bold
|
|
|
|
|
2020-09-05 17:02:00 +02:00
|
|
|
# HH:MM
|
|
|
|
|
|
|
|
color-regexp = "[012][0-9]:[0123456][0-9]" cyan bold
|
|
|
|
|
|
|
|
# your username mentioned
|
|
|
|
|
|
|
|
#color-regexp = "your-username" #ff00ff bold
|
|
|
|
|
2020-07-08 18:34:48 +02:00
|
|
|
# gemini colorization
|
|
|
|
|
2020-09-05 17:02:00 +02:00
|
|
|
# gemini links
|
2020-07-08 18:34:48 +02:00
|
|
|
color-regexp = "→ .+" blue bold
|
|
|
|
|
2020-09-05 17:02:00 +02:00
|
|
|
# non gemini links
|
|
|
|
|
2020-07-08 18:34:48 +02:00
|
|
|
color-regexp = "➶ .+" magenta bold
|
|
|
|
|
2020-09-05 17:02:00 +02:00
|
|
|
# header level 1
|
|
|
|
|
2021-05-09 17:01:51 +02:00
|
|
|
color-regexp = "^🞂.*" white bold
|
2020-07-08 18:34:48 +02:00
|
|
|
|
2020-09-05 17:02:00 +02:00
|
|
|
# header level 2
|
|
|
|
|
2020-07-08 18:34:48 +02:00
|
|
|
color-regexp = "🞓 .+" blue bold
|
|
|
|
|
2020-09-05 17:02:00 +02:00
|
|
|
# header level 3
|
|
|
|
|
2020-07-08 18:34:48 +02:00
|
|
|
color-regexp = "🞐 .+" yellow bold
|
|
|
|
|
2020-09-05 17:02:00 +02:00
|
|
|
# header level 4
|
|
|
|
|
2020-07-08 18:34:48 +02:00
|
|
|
color-regexp = "🞎 " yellow
|
|
|
|
|
2020-09-05 17:02:00 +02:00
|
|
|
# list bullet
|
|
|
|
|
2020-07-08 18:34:48 +02:00
|
|
|
color-regexp = "• " blue bold
|
2020-06-11 17:28:39 +02:00
|
|
|
|
2020-09-05 17:02:00 +02:00
|
|
|
# stream statuses
|
|
|
|
|
2020-08-30 15:34:08 +02:00
|
|
|
color-regexp = ":completed" green bold
|
|
|
|
|
|
|
|
color-regexp = ":aborted" red
|
|
|
|
|
|
|
|
color-regexp = ":rendering" cyan
|
|
|
|
|
2020-06-24 19:42:05 +02:00
|
|
|
# the signature file path relative to $HOME
|
2020-06-22 13:58:04 +02:00
|
|
|
|
2020-06-24 19:42:05 +02:00
|
|
|
# signature-file = ".signature"
|
2020-06-22 13:58:04 +02:00
|
|
|
|
2020-06-11 17:28:39 +02:00
|
|
|
# you can filter off users using regexp
|
|
|
|
|
|
|
|
# ignore-user-regexp = "@domain-name$"
|
|
|
|
|
2021-02-13 12:37:37 +01:00
|
|
|
# ignore-user-regexp = "^user-name@domain-name"
|
|
|
|
|
2021-02-21 12:23:01 +01:00
|
|
|
# Use gemini favicon?
|
|
|
|
# see gemini://mozz.us/files/rfc_gemini_favicon.gm
|
|
|
|
# gemini.fetch.favicon = no
|
|
|
|
|
2021-02-13 12:37:37 +01:00
|
|
|
# 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
|
2021-03-28 14:33:56 +02:00
|
|
|
# if you want to open some kind of file with tinmop try the following
|
|
|
|
# valid values are "tinmop" "me" "internal"
|
|
|
|
# ▼▼▼▼▼▼▼▼
|
2021-04-01 17:08:42 +02:00
|
|
|
open "gmi$" with "tinmop"
|
|
|
|
open "txt$" with "tinmop"
|
|
|
|
open ".sh$" with "tinmop"
|