Configuration
Moonswing reads one TOML file:
~/.config/moonswing/config.toml # or $XDG_CONFIG_HOME/moonswing/config.toml- If the file is missing, the shell writes a default one on first start.
- A wrongly typed value costs only that key: the default is used instead. Numbers out of range are clamped.
- A TOML syntax error costs the whole file: the shell logs the error to stderr and runs on defaults.
- Changes made in Settings, in Moonsettings or from a right-click menu apply live and are written back to the file. Settings rewrites the whole file, so comments are not kept.
- The shell follows the file, so an edit by hand applies as soon as it is saved, as an edit in Settings does. A file with a TOML syntax error is ignored until it is fixed — and a change made in Settings meanwhile rewrites it, so fix it first.
In this section
Section titled “In this section”- Panels and layout — Panel geometry, anchors, layers, and which modules sit where.
- Modules — Per-module options for every
[modules.*]strip on the bar. - Shortcuts — Key bindings the shell asks the compositor to route to it.
- Theme — Palette, fonts, panel and popup geometry.
- Background — Wallpaper sources, fit, and rotation.
- Desktop icons and widgets — The desktop grid: icons, and the widgets that share it.
- Lock screen — Idle locking, the lock wallpaper, and what it needs installed.
- Overlays and system integration — The emoji picker, calendar, notifications, on-screen indicator, keyboard layouts, power button, authentication prompts, agent control, screen sharing and input capture.
- Google account — Signing in to Google under Settings › Accounts, its events in the calendar, and meetings on the todo board.
- Code dashboard — The overview’s Code tab: review requests, your changes and issues across GitHub and GitLab, staleness thresholds, and linking GitLab.
- Full example — One config.toml exercising every section.