vixalien / sticky

A simple sticky notes app for GNOME
https://flathub.org/apps/details/com.vixalien.sticky
MIT License
173 stars 27 forks source link

[Feature Request] Open window on boot when there are active notes #81

Closed Miccio-AN closed 10 months ago

Miccio-AN commented 1 year ago

Check box for automatic startup when there are active notes (only with active notes!). This way you can retrieve your notes on next boot without restarting the program.

Thank's for your job!

vixalien commented 11 months ago

hmm I see. one option that would work is:

if you launch sticky-notes --only-if-active-notes it would only launch if there are active notes, otherwise not launch.

this way you can add that snippet to "Startup applications" and it will do the right thing. would that work for you?

Miccio-AN commented 11 months ago

Thanks! But I'm using flatpak and if I give: flatpak run com.vixalien.sticky --only-if-active-notes

It returns with : unknown option --only-if-active-notes unknown option

However, it would be very useful to have an option within the application so that it can be activated or deactivated as needed.

vixalien commented 11 months ago

yes, it won't work right now as I haven't added that (yet) I was just looking for your feedback.

The reason why I won't add this feature is because it can be invasive and introduce some configuration options which can be easily avoided, hence the following proposal

Miccio-AN commented 11 months ago

Indeed you are right! (It can be invasive, but .... ) But my idea was just to make the notes look like a kind of "memo reminder" on the desk. For this reason I thought about an automatic start or something like that.

vixalien commented 11 months ago

you can use "Startup application" in GNOME Tweaks to automatically start an application when your machine boots

vixalien commented 10 months ago

you can now use the -i or -if-open-note to only open the app if there is alteast one open note.

you can add something like com.vixalien.sticky -i to your autostart scripts or bash_profile

Miccio-AN commented 10 months ago

Perfect! A thousand thanks