A simple terminal-based break reminder for macOS and Linux that sends native notifications every X minutes to remind you to take breaks. Each notification includes a wellness tip to encourage healthy work habits.
- Scheduled break reminders via native system notifications
- Randomized wellness tips with each notification
- Configurable notification sounds
- Automatic scheduling using your system's scheduler (launchd on macOS, systemd on Linux)
- Simple CLI for installation and management
- Lightweight and simple to use
- macOS or Linux
- Rust toolchain (for building)
-
Build the project in release mode:
cargo build --release
-
Install the break reminder:
./target/release/szmer install
This will:
- Prompt you to select a notification sound from your system's available sounds
- Save your preferences to
~/.config/szmer/config.json - Set up automatic scheduling (launchd on macOS, systemd on Linux)
- Display the binary path (do not move the binary after installation!)
A simple break reminder for macOS and Linux
Usage: szmer <COMMAND>
Commands:
install Install the break reminder as a launchd agent
uninstall Uninstall the break reminder
notify Send a break notification (used internally by launchd)
stop Stop break reminders temporarily
resume Resume break reminders
status Show current status and next notification time
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
- The
installcommand lets you choose a notification sound and saves your preferences - It creates a scheduler configuration (launchd on macOS, systemd on Linux) that runs the
notifycommand every X minutes - Your system scheduler automatically runs the notification command in the background
- You'll receive a native notification X minutes with a random wellness tip reminding you to take a break
- The first notification appears X minutes after installation
- Do not move or delete the binary after installation. The scheduler configuration contains the absolute path to the binary.
- If you need to move the binary, uninstall first, move it, then reinstall.
- Your notification sound preference is saved in
~/.config/szmer/config.json.