Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

5. Window Controls

Akshat Sharma edited this page Mar 28, 2021 · 5 revisions

Currently window controls only if tabline is not in use. With tabline, the OS sets the window controls.

To position the window controls correctly, look for these two variables:

  • vertical shift: --wc-vertical-shift controls the vertical shift for window controls. Larger values move window controls down, where as smaller values move window controls up. Bear in mind that these values can be integers so if 0px is not enough, set a negative value to move the controls further up.

  • horizontal shift:

    • --wc-left-space: Adds space to the left of window controls by shifting window-controls. To shift window controls to the left, positive or bigger value, while smaller or negative value to shift them right.
    • --wc-right-space: Adds space to the right of window controls by shifting rest of the navbar (forward,backward,urlbar,etc.) to the right. Increase/decrease space between window-controls and navbars by setting larger or positive/smaller or negative value for right-space.

windows-patch

The wc-wt-windowspatch.css file does the following:

  • adds top margin to navbar+windowControls when firefox is maximized in Windows 10.
Clone this wiki locally