sbmpost / AutoRaise

AutoRaise (and focus) a window when hovering over it with the mouse
GNU General Public License v3.0
1.48k stars 60 forks source link

How to hide status bar icon? #135

Closed wladislaw353 closed 1 year ago

wladislaw353 commented 1 year ago
image
sbmpost commented 1 year ago

@wladislaw353 Currently this is not configurable although I can see why you would want it. Something for the next release I suppose. If the icon is really annoying, you can consider using the non ui version instead. The README explains how to build/make AutoRaise which you can then configure using a hidden .AutoRaise file in your home folder.

wladislaw353 commented 1 year ago

@sbmpost, іs this function implemented in the last update?

sbmpost commented 1 year ago

@wladislaw353 seems I was a bit over enthusiastic closing issues. I will re-open it. However I do have a question for you. If let's say the icon was disabled, how would one re-enable it? Wouldn't it be better to just build a non ui version instead?

wladislaw353 commented 1 year ago

@sbmpost for example open a window by launching an application

sbmpost commented 1 year ago

@wladislaw353

I have given it some serious thought how it could be implemented. I thought of a custom preferences pane in system preferences, or hiding the icon until restart. None of these solutions feels adequate or requires quite a bit of code for a relative small feature. So I looked on the Internet to see how other people implement this and stumbled on this free tool:

https://github.com/dwarvesf/hidden

https://github.com/UeharaYou/HiddenBar

Would this be a viable solution for you?

sbmpost commented 1 year ago

@wladislaw353

So I actually found a way to include the hide icon functionality in AutoRaise. Simply download v4.0.3 (the latest binary in master). You will see a "hide icon" option. The icon will be hidden until you restart AutoRaise.

Thanks for challenging me on this one ;-)

wladislaw353 commented 1 year ago

@sbmpost Great!!