# Mac settings that change by themselves.

Canonical page: https://leversmac.com/features/rules

> Levers rules change Mac settings by themselves: Do Not Disturb while Zoom is open, Low Power Mode when the battery is low, Dark Mode in the evening. Each puts back what it changed.

A rule is a trigger and what it does: while Zoom is open, turn on Do Not Disturb. When the trigger ends, it puts back what it changed.

## Eleven things a rule can wait for.

A rule waits for one thing: an app open, the screen shared, on battery or the charger, the battery below a level, a second display, a Wi‑Fi network, a device plugged in, a Focus, the screen locked, or a time. When it happens, the rule runs.

- Apps, the screen, power and the battery
- Displays, networks and devices
- A Focus, or the screen locking
- A moment in the day, or a span with an end

## Any switch, a mode, or an icon.

A rule can turn switches on or off, run actions, make a browser the default, start a mode or hide a menu bar icon. Add as many as you like; they run in order.

- Switches on or off
- Actions, like Empty Trash or Lock Screen
- A default browser
- A mode, or a menu bar icon hidden

## When it ends, things go back.

When the trigger ends, the rule puts back what it changed, and only what is still the way it left it. Turn that off for a rule that should stay, like Dark Mode at sunset that you switch off yourself in the morning.

- Only what the rule changed
- Only if it’s still the way the rule left it
- Or leave it as it is, one switch per rule
- A rule that was running is remembered across a restart

## Rules, before and after

Some settings follow the same pattern every day: Do Not Disturb for every call, Low Power Mode when the battery runs low, Dark Mode in the evening. Doing it by hand means remembering every time.

macOS can schedule Dark Mode and Night Shift, and Focus can follow a few apps. A rule can follow almost anything, set almost any switch, and put it back after.

## Where it is in Levers

The menu, the switch and the setting, in the order you would reach for them.

1. ### Open Settings › Rules

   Click Add Rule, or add one of the ideas under the list.

2. ### Pick the trigger

   Choose what the rule waits for, and set its app, network, device or time.

3. ### Add what it does

   Add switches, actions, a mode or a menu bar icon.

4. ### Leave it on

   Each rule has its own switch, and its row says when it last ran.

## Rules: macOS on its own, and with Levers

macOS on its own Levers

Change a setting when an app opens

macOSFocus, for notifications

LeversAny switch

Low Power Mode when the battery is low

macOSOn battery, or always

LeversBelow the level you pick

Dark Mode in the evening

macOSAuto, at sunset

LeversAt the times you pick, with anything else

Put things back after

macOSNo

LeversYes

## Questions

The ones people ask about rules before they buy.

### Which rules does Levers suggest?

Low Power Mode when the battery is below 20%, Dark Mode and Night Shift from 20:00 to 7:00, and Keep Awake with Do Not Disturb while a second display is connected.

### Can a rule start a mode?

Yes. Add the mode to what the rule does, and it stops when the rule ends.

### What’s the difference from a mode’s trigger?

A mode’s trigger starts the whole mode. A rule is lighter: one trigger and a few changes, without a mode to manage.

### Does a rule run without a license?

Rules run while Levers is licensed or in its free trial. Anything already changed is still put back.

### Can a rule run at a time and stay?

Yes. A time without an end runs the rule once, and what it changed stays.

## Related guides

- [Guide How to change the default browser on a Mac](https://leversmac.com/change-default-browser-mac)
- [Guide How to turn on Low Power Mode on a Mac](https://leversmac.com/low-power-mode-mac)

## A tidy menu bar for your Mac.

Shelves for your icons, sixty switches and modes, from $6.99, paid once.

[Buy Levers](https://leversmac.com/pricing) [Try free for 3 days](https://leversmac.com/download)

3-day free trial · one payment
