pomodoro
pomodoro copied to clipboard
Why dont we avoid mpg123 and make it more simple
Hi,
I was thinking of using print(''\a) few times instead of playing the mp3 so that it will be more simple
def play_alarm(filename = None): for i in range(3): print('\a') time.sleep(1)
If the terminal is minimized, the user won't know when the pomodoro is completed.
The other option is to get a message box, using pomodoro work_duration reset_duration --notif=True, but this currently needs Qt5.
Thank you @biswaz and @mehdidc
spt has the option to choose a command to run (set at compilation or runtime). My go-to has been beep -f 5000 -l 50
. :)
Edit: Also notifications are handled by libnotify.