artsyfriedchicken / EdgyArc-fr

Firefox Userchrome and sidebery style
Mozilla Public License 2.0
575 stars 13 forks source link

How can i remove title bar buttons? #10

Closed peperonnii closed 5 months ago

peperonnii commented 5 months ago

image

I am on linux and I would like to know how i could get rid of titlebar buttons like close minimise etc..

cool theme btw!

artsyfriedchicken commented 5 months ago

I honestly have no clue! I havent tested it on linux yet! im still trying to get the bugs out of the macos version, and then ill need to fix both windows and linux specific bugs T___T

artsyfriedchicken commented 5 months ago

.titlebar-buttonbox-container {display:none !important} ? or something of that sort?

peperonnii commented 5 months ago

Sorry for late reply! I appreciate you getting back to me.

Im using the hyprland compositor and so i dont use window buttons. In all honesty I just switched to another arc theme... I really like this one though!

Thanks for your help tho.

johnhamelink commented 3 months ago

So in order to remove the buttons, I had to:

Add this to the end of the config:

        toolbar#nav-bar.browser-toolbar {
            padding-inline-end: 0 !important;
        }

        .titlebar-buttonbox-container {
            display:none !important;
            width: 0 !important;
        }

And modify the value of --uc-window-control-btn to 0px (I edited the hide-tabs-bar.css file directly for this one because I struggled to find a CSS selector which would override the value).