Pomodoro implementation using Open-Pomodoro CLI and the rofi application launcher.
Download the rofi-pomodoro.sh
script, make it an executable and run it
cd ~/bin
wget https://raw.githubusercontent.com/akorda/rofi-pomodoro/main/rofi-pomodoro.sh
chmod +x rofi-pomodoro.sh
./rofi-pomodoro.sh
You could integrate the rofi-pomodoro with i3 tiling window manager. Add the following line the i3 configuration (e.g. ~/.config/i3/config
) file and invoke the tool using keys $mod + Control + p.
bindsym $mod+Control+p exec --no-startup-id ~/bin/rofi-pomodoro.sh
You could integrate the rofi-pomodoro with i3status status bar generator. We will add a custom i3status segment using this technique.
Download the i3statusX.sh
file and make it executable.
cd ~/bin
wget https://raw.githubusercontent.com/akorda/rofi-pomodoro/main/i3statusX.sh
chmod +x i3statusX.sh
Add the following line to the i3status configuration (e.g. ~/.config/i3status/config
) file
order += "tztime holder__pomodoro"
tztime holder__pomodoro {
format = "holder__pomodoro"
}
and replace the default bar settings in i3 configuration
bar {
# [...]
status_command ~/bin/i3statusX.sh
# [...]
}
Reload the i3 configuration (e.g. using $mod + Shift + r).