3 Commits

Author SHA1 Message Date
c878c7f678 Make the time widget work
- Show real time, not dummy text
- Update time every minute
- Use slint's Timer
2025-11-20 12:28:26 +05:30
1d222795a3 Refactor for simplicity & modularity
- Write `run_cmd()` to run commands
- Separate command execution from Slint callbacks
- Rename `TimeWidget`'s callback `open_program()` as `show_clock()`
2025-11-19 21:51:13 +05:30
34ccdb6ba0 Move callbacks to separate module
- Modularity
- Redability
- Separation of logic
2025-11-19 17:42:28 +05:30