Hellowlol / HTPC-Manager

A fully responsive interface to manage all your favorite software on your Htpc.
MIT License
344 stars 48 forks source link

[REQUEST] Option to have top bar category "Others" not as dropdown but each item as own menu entry like the Plugins #548

Open v1rusnl opened 7 years ago

v1rusnl commented 7 years ago

As the title says, i currently have 2 custom URLs in HTPC Manager. Currently the two links are shown as a dropdown menu in the topbar.

It would be really nice to have an own top menu entry for each item (perhaps optionally) instead of the Entry "Others" with the dropdown menu showing the custom links.

jeremysherriff commented 6 years ago

+1 This would be a useful feature.

Implementation could be done via a tick-box per line-item on the Settings/Other Apps page to indicate which apps to include in the main bar (versus which to leave in the Other menu). This tick-box should then help provide the logic for including these lines in the code for the loop that draw the menus.

falling-fading commented 6 years ago

I quickly threw this together - Just added a few extra modules for the custom links. I'm 100% sure that there's a better way to do it - But I can't code, and as far as I can tell it does the job. The "navbarlink*.py" files into the "modules" folder.

Screenshot: https://imgur.com/IWKwAaf Gist: https://gist.github.com/falling-fading/222f1deaa7bf6b814470290a529ca14e