fsobolev / timeswitch

Power off, reboot, suspend, send a notification or execute any command on timer. ⏲️ Written in Python using LibAdwaita.
https://flathub.org/apps/details/io.github.fsobolev.TimeSwitch
Other
36 stars 8 forks source link

[Feature] Ability to Save & Load Presets #56

Closed hyuri closed 1 year ago

hyuri commented 1 year ago

Hi again!

First of all, I just want to say thank you for making such an excellent app! Great job! I've been using it everyday.

Now, I just had an idea: What do you think of adding a presets option? That way we can save timers we use often, making it even quicker to use the app. I usually use the same settings for different timers throughout the day. Cooking, for example, certain recipes take the same amount time to cook, so being able to save a preset for "beans", "rice", etc. would make save some time.

Be able to create and add them to categories — like "Recipes", "Maintenance", etc. — would make it even nicer.

Example:

Time Switch Presets Concept

fsobolev commented 1 year ago

I think categories will add unnecessary complexity. I don't expect somebody to have dozens of presets, but maybe 5-10, and for this amount I don't think categories are needed. But overall, great idea, thanks!

hyuri commented 1 year ago

I think categories will add unnecessary complexity. I don't expect somebody to have dozens of presets, but maybe 5-10, and for this amount I don't think categories are needed. But overall, great idea, thanks!

👌 I see myself mounting dozens of presets over the years, but maybe it's just me😂 It's definitely non-essential, so if it adds complexity, forget about it!

fsobolev commented 1 year ago

Sorry that you have to wait for this feature so long. It is now implemented, I'm going to wait for translations update and GNOME 44 Platform release (~ March 22nd) and then I will publish a new version.

Preset creation Presets submenu Managing presets

Each preset remembers and restores timer mode, timer value, action and its parameters (including notification text for notification action).

hyuri commented 1 year ago

Awesome!! It didn't take very long. Thank you very much! Your great work on this app is really appreciated.