Right now there's a "Always start minimized" option which does just that - it starts the Zulip app in a minimized state, however it still remains in the task bar and can be switched to using alt-tab and has to be closed to tray manually every time it's started (i.e. on system startup). Would it also be possible to get an option that minimizes the app to tray on startup so one doesn't have to do it manually every time?
I'm bit confused on what you're asking for.
On system startup, auto-start the Zulip app and minimize it to tray.
^^ is this what you want? If yes, then you need to use the following settings -

Here's the current behaviour - https://youtu.be/8Mvp0woj9X8. As you can see Zulip opens and minimises to the taskbar, not tray. It can also be seen when alt+tabbing (0:05) since it's minimized to taskbar and not tray.
Here's the behaviour I'm asking for - https://youtu.be/YA5J66fBhTU. As you can see here, the thunderbird tray icon is created and it does not appear in the taskbar at all.
Hi, I confirm that on i3wm the "Always start minimized" option is not working...
So maybe you could add a CLI option, for instance:
$ zulip -startintray
@zulipbot claim
Hello @ThePiyushGupta, it looks like you've currently claimed 1 issue in this repository. We encourage new contributors to focus their efforts on at most 1 issue at a time, so please complete your work on your other claimed issues before trying to claim this issue again.
We look forward to your valuable contributions!
@zulipbot claim
I have added the basic functionalities .However i would like to know if triggering the "always start minimized" should automatically turn of "start in tray" and vice versa.
That's how I would prefer it.
Maybe it should check which option is set on startup and act accordingly, so people can toggle it according to their desires.
I have added the basic functionalities .However i would like to know if triggering the "always start minimized" should automatically turn of "start in tray" and vice versa.
Correct, this should be the expected behaviour.
@zingmars do you think we should always minimize to tray if the always start to minimized in on?
Yeah