Config file locations
Pomo searches for its configuration file in the following order:- Current directory:
pomo.yaml(highest priority) - System config directory:
- Linux/macOS:
~/.config/pomo/pomo.yaml - Windows:
%APPDATA%\pomo\pomo.yaml
- Linux/macOS:
- Built-in defaults if no config file is found
Pomo will use built-in default values if no config file is found. You can run Pomo without any configuration.
Configuration structure
Thepomo.yaml file uses YAML format to configure sessions, notifications, visual appearance, and post-session commands.
Complete example
pomo.yaml
Session end behavior
TheonSessionEnd setting controls what happens when a session completes.
Action to take after session completionOptions:
ask- Prompt user to start next session (default)start- Automatically start the next sessionquit- Exit the application
Examples
Config file validation
Pomo includes a JSON schema for config file validation. Add this line at the top of yourpomo.yaml for editor autocompletion:
This enables YAML language server features like autocompletion and validation in editors like VS Code.
Next steps
Session settings
Configure work, break, and long break durations
ASCII art
Customize timer fonts and colors
Notifications
Set up desktop notifications
Commands
Run custom commands after sessions