Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

Commit

Permalink
Add #
Browse files Browse the repository at this point in the history
  • Loading branch information
a-blob committed Sep 25, 2023
1 parent 2bd5856 commit 7e4e3d9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions focus-timer.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# Import
import tkinter as tk
from tkinter import ttk
import time


# Define the variables
focustime = 0
breaktime = 0
count = 0


# Define the functions
def break_window(breaktime):
breakwindow = tk.Tk()
breakwindow.attributes('-fullscreen', True)
Expand Down Expand Up @@ -41,6 +45,8 @@ def focus_countdown(count, breaktime):
else:
break_window(breaktime)


# Main window code
inputwindow = tk.Tk()
inputwindow.resizable(width = False, height = False)
inputwindow.geometry("600x300")
Expand Down

0 comments on commit 7e4e3d9

Please sign in to comment.