Skip to Content
steep

Configuration and exit codes

Flags, environment variables, and tape settings, which one wins, and what the exit codes mean.

There's no configuration file. A tape configures a demo, and flags and environment variables configure a run. For reel run, a setting is taken from the first of:

  1. A flag, such as --theme
  2. Its environment variable, such as REEL_THEME
  3. The tape's Set, such as Set Theme
  4. The default, which is VHS's for tapes, and reel's otherwise
FlagEnvironmentTape setting
--theme NAME|FILE|JSONREEL_THEMETheme
--font FAMILY[,FAMILY...]REEL_FONTFontFamily
--font-size PXREEL_FONT_SIZEFontSize
--letter-spacing PXLetterSpacing
--line-height XLineHeight
--padding PXREEL_PADDINGPadding
--margin PXREEL_MARGINMargin
--margin-fill #RRGGBB|"[ANGLEdeg] #RRGGBB #RRGGBB..." (gradient)REEL_MARGIN_FILLMarginFill
--shadow "X Y [BLUR] [#RRGGBB[AA]]"|none (drop shadow)REEL_SHADOWShadow
--radius PXREEL_RADIUSBorderRadius
--[no-]chromeREEL_CHROMEWindowBar
--fps NREEL_FPSFramerate
--speed XREEL_SPEEDPlaybackSpeed
--title TEXTTitle
--[no-]keysREEL_KEYSKeyOverlay
--[no-]toastsREEL_TOASTSToasts
--[no-]scrollbarScrollbar
--[no-]prompt-marksPromptMarks
--[no-]link-underlineLinkUnderline
--[no-]bellBell

Other environment variables

VariableIs
REEL_SESSIONThe session to drive
REEL_RUNTIME_DIRWhere session sockets live. The default is $XDG_RUNTIME_DIR/reel.

Flags for each command

GroupFlagsCommands
Outputs-o, --varrun, rec, export, attach, session export, session stop
AppearanceThe table aboveThe same, plus still and session still
Effects--intro, --intro-line, --outro, --outro-line, --pause, --pause-at, --hold-last, --mouse, --hide, --highlight, --zoom, --redact, --redact-env, --redact-regexpThe same as outputs

Exit codes

CodeMeaning
0Success
1An error
3A session wait timed out, or a reel test tape failed
4No such session
80Invalid command-line usage

Last updated on

On this page