Polished the UI and added Persistent Config option.

Signed-off-by: Nyx <189459385+nyx-4@users.noreply.github.com>

Changelog:
Added Config.options.time.pomodoro options in Config.qml
Restructered the Pomodoro logic and added Long break
Used timestamp instead of naively counting down.
Major UI tweaks.
This commit is contained in:
Nyx
2025-08-03 20:36:29 +05:00
parent 0b9717c2a5
commit e4b761917a
3 changed files with 164 additions and 155 deletions
@@ -253,6 +253,12 @@ Singleton {
// https://doc.qt.io/qt-6/qtime.html#toString
property string format: "hh:mm"
property string dateFormat: "ddd, dd/MM"
property JsonObject pomodoro: JsonObject {
property int breaktime: 300
property int cycle: 4
property int focus: 1500
property int longbreak: 1200
}
}
property JsonObject windows: JsonObject {