preset

Switch between configuration presets or view preset information.

Usage

sunsetr preset <PRESET_NAME>
sunsetr preset active
sunsetr preset list

Subcommands

preset <name>

Switches to a specific preset.

sunsetr preset day      # Switch to day preset
sunsetr preset gaming   # Switch to gaming preset
sunsetr preset default  # Return to default configuration

preset active

Shows which preset is currently active.

sunsetr preset active

Output:

gaming

preset list

Lists all available presets.

sunsetr preset list

Output:

day
gaming
weekend
london

Toggle Behavior

Calling the same preset twice toggles back to default:

sunsetr preset day    # Switches to day preset
sunsetr preset day    # Switches back to default

Notes

  • Presets are stored in ~/.config/sunsetr/presets/
  • Each preset is a directory containing sunsetr.toml (and optionally geo.toml)
  • See Preset System for detailed preset configuration