1
0
mirror of https://codeberg.org/cage/tinmop/ synced 2024-12-18 23:22:52 +01:00
tinmop/etc/shared-gui.conf
cage b76f6bda1b - [GUI] added initial support for gempub;
- [DOC] fixed syntax of query language for searching in gempub library.
2024-09-14 17:41:29 +02:00

253 lines
5.5 KiB
Plaintext

# this is the main configuration file for tinmop's GUI, feel free to
# customize it according to your taste , and do not forget to share!
# :)
# scaling icons: 1 (or 0) means no scaling. A negative integer number
# will shrink the icons and a positive number will expand the size.
# E.g: a value of 2 will render the size twice larger. -2 will shrink
# the icons in half
icons.scaling = 1
# gemini browser
gemini.image.inline.relative.scaling = 1/3
gemini.favicon = "🌍"
gemini.main-window.select.background = #ff00ff
gemini.main-window.select.foreground = #ffffff
gemini.main-window.foreground = #5b4636
gemini.main-window.background = #f4ecd8
# the font name
gemini.main-window.text.font = "Sans"
# positive number units in point, negative units in pixel
gemini.main-window.text.size = 11
# normal or bold
gemini.main-window.text.weight = normal
# roman or italic
gemini.main-window.text.slant = roman
# boolean value
gemini.main-window.text.underline = no
# horizontal padding: unit of measure is the width of the '0' char,
# using the font specified in 'gemini.main-window.text.font', above.
gemini.main-window.text.padding = 5
# links
gemini.link.foreground = #0061e0
gemini.link.background = #f4ecd8
gemini.link.font = "Sans"
gemini.link.size = 11
gemini.link.weight = normal
gemini.link.slant = roman
gemini.link.underline = yes
gemini.link.scheme.gemini.prefix = "→♊ "
gemini.link.scheme.other.prefix = "→ "
gemini.link.scheme.http.prefix = "→🕸 "
# quotation
gemini.quote.prefix = "🞂 "
gemini.quote.foreground = #5b4636
gemini.quote.background = #f4ecd8
gemini.quote.font = Serif
gemini.quote.size = 11
gemini.quote.weight = normal
gemini.quote.slant = italic
gemini.quote.underline = no
gemini.quote.justification = left
# unordered list
gemini.bullet.prefix = "• "
# header level 1
gemini.h1.prefix = ""
gemini.h1.foreground = #5b4636
gemini.h1.background = #f4ecd8
gemini.h1.font = "Sans"
gemini.h1.size = 20
gemini.h1.weight = bold
gemini.h1.slant = roman
gemini.h1.underline = no
gemini.h1.justification = center
# header level 2
gemini.h2.prefix = ""
gemini.h2.foreground = #5b4636
gemini.h2.background = #f4ecd8
gemini.h2.font = "Sans"
gemini.h2.size = 15
gemini.h2.weight = bold
gemini.h2.slant = roman
gemini.h2.underline = no
gemini.h2.justification = left
# header level 3
gemini.h3.prefix = ""
gemini.h3.foreground = #5b4636
gemini.h3.background = #f4ecd8
gemini.h3.font = Sans
gemini.h3.size = 12
gemini.h3.weight = bold
gemini.h3.slant = roman
gemini.h3.underline = no
gemini.h3.justification = left
# preformatted text
gemini.preformatted-text.foreground = #5b4636
gemini.preformatted-text.background = #f4ecd8
gemini.preformatted-text.font = Monospace
gemini.preformatted-text.size = 12
gemini.preformatted-text.weight = bold
gemini.preformatted-text.slant = roman
gemini.preformatted-text.underline = no
gemini.preformatted.justification = left
# Table of contents (TOC)
# width in chars
toc.show = yes
toc.maximum.width = 40
toc.minimum.width = 20
toc.font = Monospace
toc.size = 12
toc.weight = normal
toc.slant = roman
toc.underline = no
toc.autoresize = yes
# stream frame
stream-frame.show = yes
# Keybinding
# see: https://www.tcl.tk/man/tcl8.7/TkCmd/bind.html#M7
keybinding.quit = "Control-q"
keybinding.search = "Alt-f"
keybinding.stream = "Alt-s"
keybinding.certificates = "Alt-c"
keybinding.tour.manage = "Alt-t"
keybinding.tour.next = "Control-t"
keybinding.tour.shuffle = "Alt-S"
keybinding.gemlog = "Alt-g"
keybinding.about = "Alt-a"
keybinding.type-address = "Alt-d"
keybinding.view-source = "Alt-u"
keybinding.back = "Control-BackSpace"
keybinding.up = "U"
keybinding.bookmark.toggle = "Control-d"
keybinding.bookmark.show = "Alt-b"
keybinding.bookmark.export = "Alt-e"
keybinding.bookmark.import = "Alt-i"
keybinding.search-gempub-library = "Alt-l"
keybinding.gemtext.scaling.increase = "Control-plus"
keybinding.gemtext.scaling.decrease = "Control-minus"
keybinding.gemtext.scaling.reset = "Control-0"
keybinding.gemtext.refresh = "Control-r"
# emphasize text
emphasize.wrapped.asterisk = yes