Skip to content

Pomodoro implementation using Open-Pomodoro CLI and the rofi application launcher

License

Notifications You must be signed in to change notification settings

akorda/rofi-pomodoro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rofi-pomodoro

Pomodoro implementation using Open-Pomodoro CLI and the rofi application launcher.

Installation

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

Integration with i3

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

Integration with i3status

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).

About

Pomodoro implementation using Open-Pomodoro CLI and the rofi application launcher

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages