Closed bushnerd closed 1 year ago
You can already do this? Just disable the "Create tray icon" option.
Sorry, this might be a bit ambiguous. I mean this icon in taskbar not tray icon.
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)
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.
@dragonwocky any update on this fix . pls
@darkworks @bushnerd added in the latest commit, let me know how it goes.
@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.
@darkworks yes, that's one of the changes that need to be made before this is merged into the official repository (tracked here: https://github.com/obsidianmd/obsidian-releases/pull/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.
@dragonwocky ok good to hear , check this it might help : https://medium.com/@onur.polattimur/electron-frameless-window-close-and-minimize-to-tray-5bab47f66f82
Could you pls add "hide from taskbar" option in if its possible, it seems no need to display a icon in the taskbar.