ransome1 / sleek

todo.txt manager for Linux, Windows and MacOS, free and open-source (FOSS)
https://github.com/ransome1/sleek/wiki
MIT License
1.33k stars 104 forks source link

minimize after launching sleek (either via setting or command-line option) #541

Closed bughunter2 closed 4 months ago

bughunter2 commented 10 months ago

Feature Request

Description: Add a --minimize command-line option, or similar, so the program minimizes itself during initialization. Alternatively, this functionality may be provided via sleek's settings screen. Or both.

Use Case: Be able to start the program minimized. This way, users can, for example, let the program start minimized after logging on via an autostart script they use, so the program can for example start showing notifications while the user continues to do other things.

Implementation Details: See description above, and see below for additional context.

Additional Context: On Windows, at the moment, the program can already be started minimized by creating a shortcut and adjusting the parameters. So it appears the program already honors the 'nShowCmd' in WinMain().

But, sometimes, a user may want to launch Sleek via an old-fashioned .bat file. Or..., maybe they use Linux and want to launch Sleek via an .sh script.

In those cases, it may be nice to have a command-line option that tells Sleek to minimize itself during initialization.

That way users can do this:

#!/bin/sh
exec /path/to/sleek --minimize

Consider this a nice-to-have, not must-have.

andrei-a-papou commented 8 months ago

+1 for CLI option on Linux

github-actions[bot] commented 5 months ago

This is an automated response. We acknowledge your report, and we appreciate your engagement. However, as there has been no recent activity in this thread, it has been marked as stale. If you have any further feedback or if the matter is still relevant, please do not hesitate to respond. Otherwise, this thread will be automatically closed in 15 days from now.