mehdidc / pomodoro

simple command line pomodoro app with visualization of statistics
MIT License
556 stars 60 forks source link

Why dont we avoid mpg123 and make it more simple #4

Open cksajil opened 6 years ago

cksajil commented 6 years ago

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)

biswaz commented 6 years ago

If the terminal is minimized, the user won't know when the pomodoro is completed.

mehdidc commented 6 years ago

The other option is to get a message box, using pomodoro work_duration reset_duration --notif=True, but this currently needs Qt5.

cksajil commented 6 years ago

Thank you @biswaz and @mehdidc

polyzen commented 6 years ago

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.