126 lines
4.7 KiB
TOML
126 lines
4.7 KiB
TOML
[general]
|
|
# Start Satty in fullscreen mode
|
|
#fullscreen = "all"
|
|
#fullscreen = false
|
|
# since 0.20.1, this can be written like below. Current is just the current screen, all is all screens. This may depend on the compositor.
|
|
#fullscreen = "all"
|
|
fullscreen = "current-screen"
|
|
# resize initially (0.20.1)
|
|
#resize = { mode="smart" }
|
|
#resize = { mode = "size", width=2000, height=800 }
|
|
# try to have the window float (0.20.1). This may depend on the compositor.
|
|
floating-hack = true
|
|
# Exit directly after copy/save action. 0.20.1: Does not apply to save as
|
|
early-exit = true
|
|
# Exit directly after save as (0.20.1)
|
|
early-exit-save-as = true
|
|
# Draw corners of rectangles round if the value is greater than 0 (0 disables rounded corners)
|
|
corner-roundness = 12
|
|
# Select the tool on startup [possible values: pointer, crop, line, arrow, rectangle, text, marker, blur, brush]
|
|
initial-tool = "brush"
|
|
# Configure the command to be called on copy, for example `wl-copy`
|
|
copy-command = "wl-copy"
|
|
# Increase or decrease the size of the annotations
|
|
annotation-size-factor = 2
|
|
# Filename to use for saving action. Omit to disable saving to file. Might contain format specifiers: https://docs.rs/chrono/latest/chrono/format/strftime/index.html
|
|
# starting with 0.20.0, can contain leading tilde (~) for home directory
|
|
output-filename = "/tmp/test-%Y-%m-%d_%H:%M:%S.png"
|
|
# After copying the screenshot, save it to a file as well
|
|
save-after-copy = true
|
|
# Hide toolbars by default
|
|
default-hide-toolbars = false
|
|
# Experimental (since 0.20.0): whether window focus shows/hides toolbars. This does not affect initial state of toolbars, see default-hide-toolbars.
|
|
focus-toggles-toolbars = false
|
|
# Fill shapes by default (since 0.20.0)
|
|
default-fill-shapes = false
|
|
# The primary highlighter to use, the other is accessible by holding CTRL at the start of a highlight [possible values: block, freehand]
|
|
primary-highlighter = "block"
|
|
# Disable notifications
|
|
disable-notifications = false
|
|
# Actions to trigger on right click (order is important)
|
|
# [possible values: save-to-clipboard, save-to-file, save-to-file-as, copy-filepath-to-clipboard, exit]
|
|
actions-on-right-click = []
|
|
# Actions to trigger on Enter key (order is important)
|
|
# [possible values: save-to-clipboard, save-to-file, save-to-file-as, copy-filepath-to-clipboard, exit]
|
|
actions-on-enter = ["save-to-clipboard"]
|
|
# Actions to trigger on Escape key (order is important)
|
|
# [possible values: save-to-clipboard, save-to-file, save-to-file-as, copy-filepath-to-clipboard, exit]
|
|
actions-on-escape = ["exit"]
|
|
# Action to perform when the Enter key is pressed [possible values: save-to-clipboard, save-to-file]
|
|
# Deprecated: use actions-on-enter instead
|
|
action-on-enter = "save-to-clipboard"
|
|
# Right click to copy
|
|
# Deprecated: use actions-on-right-click instead
|
|
right-click-copy = false
|
|
# request no window decoration. Please note that the compositor has the final say in this. At this point. requires xdg-decoration-unstable-v1.
|
|
no-window-decoration = true
|
|
# experimental feature: adjust history size for brush input smoothing (0: disabled, default: 0, try e.g. 5 or 10)
|
|
brush-smooth-history-size = 0
|
|
# experimental feature (0.20.1): The pan step size to use when panning with arrow keys.
|
|
pan-step-size = 50.0
|
|
# experimental feature (0.20.1): The zoom factor to use for the image.
|
|
# 1.0 means no zooming.
|
|
zoom-factor = 1.0
|
|
# experimental feature (0.20.1): The length to move the text when using arrow keys. defaults to 50.0
|
|
text-move-length = 50.0
|
|
# experimental feature (0.20.1): Scale factor on the input image when it was taken (e.g. DPI scale on the monitor it was recorded from).
|
|
# This may be more useful to set via the command line.
|
|
# Note, this is ignored with explicit resize.
|
|
#input-scale = 2.0
|
|
|
|
# Tool selection keyboard shortcuts (since 0.20.0)
|
|
[keybinds]
|
|
pointer = "p"
|
|
crop = "c"
|
|
brush = "b"
|
|
line = "i"
|
|
arrow = "z"
|
|
rectangle = "r"
|
|
ellipse = "e"
|
|
text = "t"
|
|
marker = "m"
|
|
blur = "u"
|
|
highlight = "g"
|
|
|
|
# Font to use for text annotations
|
|
[font]
|
|
family = "Roboto"
|
|
style = "Regular"
|
|
# specify fallback fonts (0.20.1)
|
|
# Please note, there is no default setting for these and the fonts listed below
|
|
# are not shipped with Satty but need to be available on the system.
|
|
fallback = [
|
|
"Noto Sans CJK JP",
|
|
"Noto Sans CJK SC",
|
|
"Noto Sans CJK TC",
|
|
"Noto Sans CJK KR",
|
|
"Noto Serif CJK JP",
|
|
"Noto Serif JP",
|
|
"IPAGothic",
|
|
"IPAexGothic",
|
|
"Source Han Sans"
|
|
]
|
|
|
|
# Custom colours for the colour palette
|
|
[color-palette]
|
|
# These will be shown in the toolbar for quick selection
|
|
palette = [
|
|
"#00ffff",
|
|
"#a52a2a",
|
|
"#dc143c",
|
|
"#ff1493",
|
|
"#ffd700",
|
|
"#008000",
|
|
]
|
|
|
|
# These will be available in the color picker as presets
|
|
# Leave empty to use GTK's default
|
|
custom = [
|
|
"#00ffff",
|
|
"#a52a2a",
|
|
"#dc143c",
|
|
"#ff1493",
|
|
"#ffd700",
|
|
"#008000",
|
|
]
|