pomobar-rs is a Waybar plugin that implements a Pomodoro timer.
The plugin utilizes socket-based communication between Waybar and pomobar.
First, clone the repository:
git clone https://github.com/liminchian/pomobar-rs.git
cd pomobar-rsBuild the project using cargo:
cargo build --releaseInstall the binaries by copying them to their respective locations:
pomobar(server) to~/.local/bin/pomobar-cli(client) to~/.config/waybar/
cp target/release/pomobar ~/.local/bin/pomobar
cp target/release/pomobar-cli ~/.config/waybar/pomobar-cliLaunch the pomobar server before starting Waybar:
pomobarAdd the following configuration to your Waybar config:
Notification with mako
Tootip
To see the notification icon, copy the icon file to /usr/share/icons/hicolor/64x64/apps/pomobar.png.
This project is inspired by mt190502/pomobar


{ "custom/pomobar": { "format": "{} {icon}", "format-icons": { "idle": "", "paused": "", "work": "", "short_break": "", "long_break": "", }, "interval": 1, "exec": "${HOME}/.config/waybar/pomobar-cli status", "on-click": "${HOME}/.config/waybar/pomobar-cli toggle", "on-click-middle": "${HOME}/.config/waybar/pomobar-cli reset", "return-type": "json", }, }