Skip to content

Startup Apps

A list of applications that will be started when the compositor starts.

Key

startup_apps

Value

A list of:

- command: string  # A shell command to be executed

# If true, the application will automatically restart
- restart_on_death: bool

Example

# ~/.config/miracle-wm.yaml

# Start waybar and swaybg on startup
startup_apps:
  - command: waybar
    restart_on_death: true
  - command: swaybg -i /path/to/my/image
    restart_on_death: true