Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "hide from taskbar" option #11

Closed
bushnerd opened this issue Feb 11, 2023 · 9 comments
Closed

Add "hide from taskbar" option #11

bushnerd opened this issue Feb 11, 2023 · 9 comments

Comments

@bushnerd
Copy link

Could you pls add "hide from taskbar" option in if its possible, it seems no need to display a icon in the taskbar.

@dragonwocky
Copy link
Owner

You can already do this? Just disable the "Create tray icon" option.

@bushnerd
Copy link
Author

Sorry, this might be a bit ambiguous. I mean this icon in taskbar not tray icon.
image

@dragonwocky
Copy link
Owner

Ah, gotcha. Could be done, I'll give it a go next time I update.

(Note to self: https://www.electronjs.org/docs/latest/api/browser-window#winsetskiptaskbarskip-macos-windows)

@dragonwocky dragonwocky reopened this Feb 12, 2023
@darkworks
Copy link

yes pls add this hide from task bar option as its much needed. so that on minimize it directly go to tray instead of display icon etc in taskbar.

@darkworks
Copy link

@dragonwocky any update on this fix . pls

dragonwocky added a commit that referenced this issue Apr 9, 2023
@dragonwocky
Copy link
Owner

@darkworks @bushnerd added in the latest commit, let me know how it goes.

@darkworks
Copy link

@darkworks @bushnerd added in the latest commit, let me know how it goes.

ya its working thanks for the fix..

is there way if we could listen for obsidian top right close button event and override it with this plugin so that instead of obsidian exit through this plugin it hide into tray.

thanks.

@dragonwocky
Copy link
Owner

@darkworks yes, that's one of the changes that need to be made before this is merged into the official repository (tracked here: obsidianmd/obsidian-releases#1365). Currently closing the window using the Obsidian frame (where the window close button is part of the Obsidian interface) is overridden, but closing the window using the native titlebar isn't yet.

@darkworks
Copy link

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

No branches or pull requests

3 participants