Window, cursor and background
Change the window, background and cursor to suit how you work.
Window appearance
Settings → Window lets you put tabs and status information at the top or bottom, hide them, choose a border and adjust opacity and frosted glass.
[window]
chromePosition = "bottom"
showTabBar = true
showStatusBar = true
showBorder = true
borderColor = "596582"
borderWidth = 1.0
opacity = 1.0
frosted = false
frostIntensity = 1.0
Set chromePosition to bottom or titlebar. Tabs appear when there’s more than one. Hiding the controls doesn’t close any sessions, and their keyboard shortcuts still work. The border can be up to six points wide; zero hides it. You can also turn showBorder off without losing its saved colours and width.
Opacity changes the background tint while keeping text and native controls opaque. frostIntensity changes how much blur sits behind the tint. If Reduce Transparency is enabled on your Mac, Moth turns off frosting and uses an opaque background.
Backgrounds
Settings → Background provides an animated colour field with adjustable colours, strength and speed. A plain colour, gradient or picture can be used instead.
[background]
style = "flow"
animated = true
intensity = 0.22
speed = 0.5
effectColors = []
Use flow or solid for style, a strength between 0 and 1 for intensity, and a speed from 0.05 to 3. Leave effectColors empty for the defaults, or supply two to six colours. background.paint controls the plain background. The animation respects your Mac’s Reduce Motion setting.
The animated colour field is drawn separately from text using Metal, at up to 20 frames per second and a maximum of 640 pixels on its longest edge. Each window works on one frame at a time. Static backgrounds are drawn once, and animation pauses when a window is minimized or offscreen.
Choose Picture selects a local image instead. Fill window crops its edges to cover the window; Fit entire picture keeps the whole image visible. Picture strength blends it over the theme background. Remove Picture returns to a plain background. The file stays in its original location. If it is unavailable when Moth loads it, the theme background is used.
[background]
style = "image"
imagePath = "~/Pictures/background.jpg"
imageScale = "fill"
imageOpacity = 0.35
imageScale accepts fill or fit, and imageOpacity accepts 0–1. Named profiles keep their own picture settings.
Cursor choices
View → Cursor lets you choose a block, underline or bar, then make it breathe, blink or stay still. Changes apply to windows using the edited profile.
[cursor]
shape = "block"
animation = "breathe"
period = 1.4
Set shape to block, underline or bar, and animation to breathe, blink or noblink. You can also use steady in place of noblink. period sets the length of a complete cycle, from 0.2 to 5 seconds.
The cursor stops animating when inactive, and stays still with Reduce Motion enabled. Terminal programs can still hide and show it.
Solid and linear paint
The window border, cursor and plain background can each use a solid colour or a linear gradient. Leave the colour list empty to inherit the defaults, or choose two to six stops and a direction from 0 to 360 degrees.
[window.borderPaint]
type = "linear"
colors = ["8C70D9", "65BAB0"]
angle = 35.0
[background.paint]
type = "linear"
colors = ["263649", "11151E"]
angle = 90.0
[cursor.paint]
type = "solid"
colors = ["B9CCFF"]
angle = 90.0