Settings & Direct Save
Complete guide to shotori settings and ~/.config/shotori/settings.toml — direct save without dialogs, filename templates, toolbar editor, and notifications.
Shotori stores all behavioral preferences in ~/.config/shotori/settings.toml. You can edit settings visually through shotori settings [PAGE] (or the tray menu) or edit the TOML file by hand — unknown keys are preserved safely.

Direct Save Without Dialog ([export])
Enable auto_save = true to skip the xdg-desktop-portal file picker whenever you press Ctrl+S or click Save. Shotori writes directly to save_dir (default ~/Pictures/Shotori) and appends collision-free -1, -2 suffixes automatically if a file already exists:
[export]
save_dir = "~/Pictures/Shotori"
auto_save = true
remember_last_dir = false
# Supports chrono strftime tokens plus {w} and {h} physical pixel dimensions:
filename_template = "Shotori_%Y-%m-%d_%H-%M-%S_{w}x{h}"
format = "png" # "png" | "jpeg" | "webp" (clipboard/stdout always use PNG)
png_compression = "balanced" # "fast" | "balanced" | "best"
jpeg_quality = 90 # 1..=100
copy_on_save = true # Also copy PNG to clipboard whenever saving to disk
General & Capture HUD ([capture])
language = "auto" # "auto" | "en" | "zh-CN"
smart_region = true # Pixel-edge smart hover & wheel hierarchy
annotation_auto_select = true # Select newly drawn marks immediately
[capture]
window_snap = true # Snap to niri, sway, and Hyprland windows
crosshair = false # Full-screen alignment crosshairs
size_label = "logical" # "logical" | "physical" | "bounds" | "hidden"
loupe = true # Corner/handle precision magnifier
loupe_zoom = 3 # 2..=8
loupe_size = "medium" # "small" | "medium" | "large"
keep_open_after_copy = false
keep_open_after_save = false
reduce_motion = false
Toolbar Layout & Palette ([toolbar])
All 23 toolbar items (select, rectangle, ellipse, line, polyline, arrow, number, pencil, highlighter, mosaic, magnifier, spotlight, eraser, text, clear, ocr, qr, pin, scroll, save, copy, settings, cancel) plus "separator" dividers can be ordered freely:
[toolbar]
items = [
"rectangle", "ellipse", "line", "polyline", "arrow",
"number", "pencil", "highlighter", "mosaic", "magnifier",
"eraser", "text", "clear", "separator",
"ocr", "qr", "pin", "scroll", "save", "copy", "separator",
"settings", "cancel",
]
# 7 opaque brush swatches (#RRGGBB or #RRGGBBAA with FF alpha)
colors = [
"#FF4545FF", "#FF8A32FF", "#FFD43BFF", "#40C878FF",
"#409CFFFF", "#222222FF", "#FFFFFFFF",
]
Annotation Startup Defaults ([annotation])
[annotation]
text_wrap = "word" # "word" | "character" | "none"
renumber_on_delete = false # Renumber remaining sequence badges on erase/delete
default_color_index = 0 # 0..=6
highlighter_color_index = 2 # 0..=6
stroke_width = 3 # 1..=20
highlighter_width = 20 # 8..=60
highlighter_blend = "multiply" # "multiply" | "translucent"
mosaic_strength = 16 # 4..=48
eraser_size = 32 # 8..=96
text_size = 24 # 12..=72
number_size = 32 # 16..=64
number_format = "decimal" # "decimal" | "alphabetic" | "roman"
arrow_style = "open" # "open" | "filled" | "triangle" | "outline" | "double_open" | "double_triangle" | "dimension"
smooth_pencil = true
spotlight_opacity = 55 # 0..=100
magnifier_zoom = 2 # 1..=8
Notifications, Pins & Long Capture
[notify]
enabled = true
on_copy = true
on_save = true
on_ocr = true
on_qr = true
show_thumbnail = true
timeout_secs = 10 # 2..=30
[pin]
zoom_modifier = "none" # "none" | "ctrl" | "alt" | "shift"
zoom_step = 12 # 5..=50
show_border = true
shadow = true
snap_to_edge = false
[scroll]
default_axis = "vertical" # "vertical" | "horizontal"
max_length = 20000 # 2000..=100000 logical pixels