69 lines
2.2 KiB
TOML
69 lines
2.2 KiB
TOML
# Photobooth configuration
|
|
|
|
[camera]
|
|
# "auto-macally" scans /dev/v4l/by-id/ for a camera whose name contains
|
|
# "macally". You can also use "auto-<anything>" for a different camera,
|
|
# an explicit device path like "/dev/video2", or a plain index like "0".
|
|
device = "auto-macally"
|
|
# Requested capture size; frames are center-cropped to 4:3 regardless.
|
|
# The Macally cam maxes out at 640x480 (it ignores higher requests) -
|
|
# raise this if you switch to a sharper camera.
|
|
capture_width = 640
|
|
capture_height = 480
|
|
# Mirror the live preview (like a mirror) - saved photos are NOT mirrored.
|
|
mirror_preview = true
|
|
|
|
[display]
|
|
# Fullscreen mode, should be 4:3 to match the CRT.
|
|
width = 800
|
|
height = 600
|
|
|
|
[text]
|
|
idle_title = "PHOTO BOOTH"
|
|
idle_subtitle = "Press the button to start!"
|
|
# {n} is replaced with the number of shoots remaining.
|
|
shoots_left_format = "{n} shoots until print!"
|
|
get_ready = "Get ready! Press button again to begin"
|
|
|
|
[booth]
|
|
photos_per_shoot = 3
|
|
shoots_per_print = 3
|
|
first_countdown_seconds = 5
|
|
next_countdown_seconds = 3
|
|
flash_duration_ms = 180
|
|
|
|
[screensaver]
|
|
# Seconds without a button press before the fish tank starts.
|
|
timeout_seconds = 30
|
|
# Fish on screen at once (images are picked randomly from the fish folder).
|
|
num_fish = 6
|
|
|
|
[contact_sheet]
|
|
# Page edge margin (in 300-DPI pixels).
|
|
margin_px = 0
|
|
# Gap between photos within a strip, and between the last photo and its footer.
|
|
photo_gutter_px = 30
|
|
# Gap between strips (columns).
|
|
strip_gutter_px = 100
|
|
# Whether to auto-rotate the page to portrait/landscape based on how the
|
|
# strips best fit. Leave true unless you want to force portrait always.
|
|
auto_orient = true
|
|
|
|
[footer]
|
|
# Footer drawn at the bottom of each 3-photo strip on the contact sheet.
|
|
line1 = "Ramble"
|
|
line2 = "at the Bindle"
|
|
# Colors as hex strings.
|
|
background_color = "#000000"
|
|
text_color = "#FFFFFF"
|
|
|
|
[printing]
|
|
# Printer name as known to CUPS (see `lpstat -p`). Empty = system default.
|
|
printer = "HP-LaserJet-P2055d"
|
|
# Set to false while testing: contact sheets are still composed and saved,
|
|
# but nothing is sent to the printer (and photos are still cleaned up).
|
|
enabled = true
|
|
# true = delete each contact sheet (JPEG + PDF) immediately after it prints.
|
|
# false = keep them in contact_sheets/ in case something goes wrong.
|
|
delete_contact_sheets = false
|