Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cksajil opened this issue Dec 19, 2017 · 4 comments
Open

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

cksajil opened this issue Dec 19, 2017 · 4 comments

Comments

@cksajil
Copy link

cksajil commented Dec 19, 2017

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
Copy link

biswaz commented Dec 21, 2017

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

@mehdidc
Copy link
Owner

mehdidc commented Dec 21, 2017

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

@cksajil
Copy link
Author

cksajil commented Dec 24, 2017

Thank you @biswaz and @mehdidc

@polyzen
Copy link

polyzen commented Dec 24, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants