unite-shell icon indicating copy to clipboard operation
unite-shell copied to clipboard

Give the possibility to hide the individual buttons

Open antoniomcr96 opened this issue 4 years ago • 3 comments

As the title suggests, would it be possible to implement the option to hide single buttons (example minimize or maximize icons) in order to show only close button? I read the css stylesheet but there seem to be no classes or IDs to set display:none or something similar. Another idea: a single button that, if clicked, shows a menu with the other buttons. A bit more complicated and only an idea. The first hypothesis would be more than good. It would be functional for the management of my top panel. If it's not possible thanks anyway.

antoniomcr96 avatar May 02 '20 22:05 antoniomcr96

If you hide them through the Gnome Tweak tools if you lock the screen and enter back in, the buttons in the top bar are updated as well to reflect that change.

For example, I have hidden all buttons but the "close" one, and this is how it looks

image

Ubuntu 20.04

As a note, switching the sides of the window buttons from right to left breaks the "hide window buttons when maximised" for some windows that have an un-removable titlebar (like the Files one), ending up with one Close button in the top panel and one in the window bar

mkarajohn avatar Aug 06 '20 21:08 mkarajohn

As a note, switching the sides of the window buttons from right to left breaks the "hide window buttons when maximised" for some windows that have an un-removable titlebar (like the Files one), ending up with one Close button in the top panel and one in the window bar

@mkarajohn, window buttons in headersbars are hidden with css. When you change the buttons side you should kill all open applications with headerbars for the changes to take effect. Does this resolve your issue?

jonian avatar Aug 29 '20 14:08 jonian

@jonian yeah, that seems to work! Thanks!

mkarajohn avatar Sep 01 '20 13:09 mkarajohn