After compiling the latest version of latte-dock and fiddling around with the sidebar and sidebar button I was bothered by the fact that I had to click the sidebar button twice(opening and closing) when using the sidebar. I figured it would be easier if it would hide automatically like the AutoHide type.
My idea was to introduce a new type: AutoHide Sidebar which automatically hides when:
- Certain amount of time has passed and mouse is no longer in the sidebar
- Click happens outside the sidebar
- Click on the original sidebar button
Automatically hiding the sidebar saves time because you do not need to click the sidebar button again which obviously increases efficiency.
Since I've always wanted to try some QML I tried something myself and came up with the following after a night of work:
Still a bit buggy but it works. I was wondering what your thoughts on this idea are.