-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Pomodoro GUI #1087
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
Pomodoro GUI #1087
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some enhancements:
Pomodoro_GUI/Pomodoro_gui.py
Outdated
block_list = [ | ||
'www.facebook.com', 'facebook.com', | ||
'www.youtube.com', 'youtube.com', | ||
'www.gmail.com', 'gmail.com', | ||
'www.instagram.com', 'instagram.com', | ||
'www.twitter.com', 'twitter.com' | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we get this input via GUI? it will make the script more customizable.
Pomodoro_GUI/Pomodoro_gui.py
Outdated
except: | ||
pass | ||
|
||
pygame.mixer.music.load("beep.wav") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pygame.mixer.music.load("beep.wav") | |
pygame.mixer.music.load("./Pomodoro_GUI/beep.wav") |
Pomodoro_GUI/Pomodoro_gui.py
Outdated
root.title('Timer') | ||
root.geometry('470x608') | ||
|
||
bg = tk.PhotoImage(file = "bg.png") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bg = tk.PhotoImage(file = "bg.png") | |
bg = tk.PhotoImage(file = "./Pomodoro_GUI/bg.png") |
Yes, I will try to implement this. |
will consider that after the script is ready to be approved 👍 |
@kaustubhgupta have a look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, increased the level as promised :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM..
Description
The Pomodoro technique uses a timer to break down work into intervals, traditionally 25 minutes in length, separated by 5 min breaks. The python script is represented in a GUI based form along with an extra functionality of website blocking to prevent distractions.
Fixes #1044
Type of change
Checklist:
README.md
Template for README.md
requirements.txt
file if needed.Project Metadata
If there is no-file/nothing to fill the below fields with, then type: none
Example:
If no requirements.txt needed/present, then type none inRequirments
.Category:
Title: Pomodoro clock with GUI
Folder: Pomodoro_GUI
Requirements: requirements.txt
Script: Pomodoro_gui.py.
Arguments: None
Contributor: RohiniRG
Description: The Pomodoro technique uses a timer to break down work into intervals, traditionally 25 minutes in length, separated by 5 min breaks. The python script is represented in a GUI-based form along with extra functionality of website blocking to prevent distractions.