pomodoro icon indicating copy to clipboard operation
pomodoro copied to clipboard

Why dont we avoid mpg123 and make it more simple

Open cksajil opened this issue 6 years ago • 4 comments

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)

cksajil avatar Dec 19 '17 15:12 cksajil

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

biswaz avatar Dec 21 '17 07:12 biswaz

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

mehdidc avatar Dec 21 '17 07:12 mehdidc

Thank you @biswaz and @mehdidc

cksajil avatar Dec 24 '17 03:12 cksajil

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.

polyzen avatar Dec 24 '17 04:12 polyzen