diff --git a/pomodorodiscord/src/settings_frame.py b/pomodorodiscord/src/settings_frame.py index 6ed7643..d6955e5 100644 --- a/pomodorodiscord/src/settings_frame.py +++ b/pomodorodiscord/src/settings_frame.py @@ -1,6 +1,6 @@ import os import customtkinter as ctk -from src.utils import load_config, save_config, reload_app, DEF_POMODORO_MINS, DEF_SB_MINS, DEF_LB_MINS, beep +from src.utils import load_config, save_config, reload_app, DEF_POMODORO_MINS, DEF_SB_MINS, DEF_LB_MINS, DEF_SB_BEFORE_L, beep class EntryFrame(ctk.CTkFrame): @@ -37,7 +37,7 @@ def __init__(self, master): self.abcycling_switch.pack(pady=(10, 0)) # Short Breaks Before Long Break - self.sb_before_l_entry = EntryFrame(self, "Short breaks before\nlong break (if auto cycling):", config, "short_breaks_before_long", 3, self.change_sb_before_l) + self.sb_before_l_entry = EntryFrame(self, "Short breaks before\nlong break (if auto cycling):", config, "short_breaks_before_long", DEF_SB_BEFORE_L, self.change_sb_before_l) self.sb_before_l_entry.pack(pady=(10, 0)) # Pomodoro Duration diff --git a/pomodorodiscord/src/utils.py b/pomodorodiscord/src/utils.py index cf6921e..76262eb 100644 --- a/pomodorodiscord/src/utils.py +++ b/pomodorodiscord/src/utils.py @@ -9,7 +9,9 @@ # Until user sets custom pomodoro, short break, long break durations, this gets set DEF_POMODORO_MINS = 25 DEF_SB_MINS = 5 -DEF_LB_MINS = 10 +DEF_LB_MINS = 15 +# Default amount of short breaks before a long break (for auto break cycling) +DEF_SB_BEFORE_L = 3 def load_file(filename, on_no_file=None):