Skip to content

Added tray autostart#50

Open
le0o0oo wants to merge 8 commits into
piec:masterfrom
le0o0oo:master
Open

Added tray autostart#50
le0o0oo wants to merge 8 commits into
piec:masterfrom
le0o0oo:master

Conversation

@le0o0oo

@le0o0oo le0o0oo commented Mar 15, 2026

Copy link
Copy Markdown

This PR adds autostart support controlled by the autostart option in the configuration file.

On application startup, the app checks whether this option is enabled. If it is, a .desktop entry is created in ~/.config/autostart (elecwhat.desktop). This entry launches the application with the --hide and --autostart flags so that it starts minimized and remains in the system tray.

Note 1: For this to take effect, the application must be launched at least once while the autostart option is set to true in the configuration. This is because it needs to create the .desktop entry.
Note 2: This has currently only been tested on CachyOS with GNOME 49 and I don't know if it will work on other configurations

@piec

piec commented Mar 16, 2026

Copy link
Copy Markdown
Owner

Hi, thank you I will take a look at it

@PaxtonGround

Copy link
Copy Markdown

Hello. Is it possible to set the tray icon to monochrome? Thanks

Comment thread README.md Outdated
Comment thread elecwhat-1.13.4.tgz Outdated
@le0o0oo

le0o0oo commented May 3, 2026

Copy link
Copy Markdown
Author

I applied the requested modifications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants