Main bar
Settings → Layout → Main bar
This page sets where the main bar sits, how it shares the screen with your windows, how its middle group is aligned, and what it does differently on each display. The main bar is the one that hosts the task strip, the status icons and the game bar.
At the top of the page:
- All bars goes back to Settings → Layout → Bars.
- The heading Main bar with a summary of the values in force, for example "Bottom edge by default · 48 px · Always visible".
- Edit on the bar puts the main bar into edit mode, so you can drag its modules around on the bar itself.
While this page is open, the main bar is outlined on screen so you can see which bar you are changing.
The four tabs are Placement, Modules, Look and Displays. The open tab is part of the page address, so a link can open a given tab.
Placement
Reset to defaults. Puts back the default for every setting on this tab that you have changed, after you confirm. Everything else in your config file, comments included, stays as it is. The button is greyed out while every setting on the tab is at its default.
Edge. The screen edge the bar sits on, on every display. Default: Bottom. Choices: Top, Bottom, Left, Right. Takes effect at once. Config: [general] position.
Note: a display can pick its own edge on the Displays tab.
Height. How thick the bar is, in pixels before display scaling. Default: 48 px. Range: 24 to 96 px. Takes effect at once (the value is saved once you stop dragging the slider). Config: [general] bar-height.
Note: a display can have its own height on the Displays tab.
Visibility. How the bar shares the screen with windows. Default: Always visible. Choices: Always visible, Keep windows clear, Let windows cover, Auto-hide. Takes effect at once. Config: [behavior] auto-hide and [behavior] reserve-space (Always visible writes auto-hide = "always-visible"; Keep windows clear writes "overlap-only" with reserve-space = true; Let windows cover writes "overlap-only" with reserve-space = false; Auto-hide writes "always-hidden").
The line under the choice explains the mode you picked:
- Always visible: the bar never hides. It keeps its own strip of the screen free, so maximized windows stop at it.
- Keep windows clear: maximized windows and desktop icons stay clear of the bar. It hides only for a full-screen app and for a window you move over it.
- Let windows cover: apps get the full screen. The bar shows while no window covers it; point at its edge to slide it back in.
- Auto-hide: the bar stays hidden and apps get the full screen. Point at its edge to slide it in.
Note: when the bar is on the top edge and can slide in over windows, a line below warns that it can cover the Close, Maximize and Minimize buttons of a maximized window. Pick Keep windows clear to avoid that.
Auto-hide
The settings in this section apply only while the bar can hide, that is when Visibility is anything other than Always visible. While it is Always visible they are greyed out and a note says so.
Edge reveal distance. How close the pointer must come to the screen edge to bring the bar back, at any scaling. Default: 2 px. Range: 1 to 24 px. Takes effect at once. Config: [behavior] reveal-zone-px.
Show after. How long the pointer rests at the edge before the bar slides in, so passing by leaves it hidden. Default: not set, which means 300 ms on a top bar and Instant on other edges. Range: Instant (0) to 2 s, in steps of 50 ms. Takes effect at once. Config: [behavior] show-delay-ms.
Hide after. How long the bar stays after you move off it, or after a window covers it. Default: 500 ms. Range: Instant (0) to 5 s, in steps of 50 ms. Takes effect at once. Config: [behavior] hide-delay-ms.
Reveal for attention. Whether the bar comes out when an app flashes for attention. Default: Until the app is opened. Choices: Until the app is opened, While it flashes, Never. Takes effect at once. Config: [behavior] reveal-on-attention.
Note: it never reveals over a full-screen app. It needs Show flashing on app tiles turned on (Settings → Modules → Task strip); while that is off this row is greyed out.
Modules
Alignment. Where the centre zone (the middle group of modules) sits on the bar. Default: Default, which follows the module layout: Center for the centred layout, Left for the classic layout. Choices: Default (shows the value it follows), Left, Center, Right. On a bar on the left or right edge the names are Top, Middle and Bottom. Takes effect at once. Config: [general] align (Default removes the key).
Note: a display can pick its own alignment on the Displays tab.
Below it, a short note says the main bar shows the modules from the Modules page, in their zones, with two ways to change them:
- Modules and zones opens Settings → Modules, where you turn modules on and choose their zones and order.
- Edit on the bar puts the main bar into edit mode, so you can drag modules on the bar itself.
Module settings for this bar. Change how a module looks or acts on this bar only. There is one Customise {module} for this bar link for each module that is on and has settings that can differ per bar; it opens that module's page for the main bar. Next to each link you see "Uses the settings for every bar" or how many settings differ on this bar. When no module on the bar has such settings, the card says so. Anything you leave alone follows the settings for every bar.
Copies of modules. A second clock or another module on this bar, with its own name and settings. Each copy has a row with:
- a checkbox that shows or hides the copy on this bar,
- a group choice: Start, Middle or End,
- Settings, which opens the copy's own settings,
- Rename, which opens a name box with Save and Cancel (leave the name empty to use the numbered name, such as "Clock 2"),
- Remove, which asks you to confirm; the copy's own settings are deleted too.
To add one, pick a module under Module to copy and select Add another. Up to 16 copies on one bar. Takes effect at once. Config: the [[modules.instances]] list.
Look
The main bar wears the app's look, so this tab has no settings of its own. It links to the Appearance cards that set the look:
- Bar background (Settings → Appearance → Theme)
- Floating gap (Settings → Appearance → Theme)
- Advanced colours (Settings → Appearance → Colours & motion)
Displays
What the main bar does differently on each display. Anything left on Global follows the Placement tab and the Modules page. Changes apply live. Config: one [[monitors]] entry per display you change.
There is one card per attached display. Its heading shows the display's name, a Primary tag on the primary display and a Bar hidden tag when the bar is off there. Under the name are the resolution and scaling and the system's device name for the display. While Katofli is still listing displays you see "Looking for displays…".
Reset to global. Shown only when the display has changes of its own. Clears every change for that display, so it follows the global settings again. Config: removes the display's [[monitors]] entry.
Show bar on this display. Whether the main bar shows on this display. Default: on. Takes effect at once. Config: [[monitors]] show-bar.
Note: the primary display always has a bar, so this switch cannot be turned off there. While the bar is hidden on a display, the rows below are greyed out.
Position. This display's edge for the main bar. Default: Global (the edge from the Placement tab). Choices: Global, Bottom, Top, Left, Right. Takes effect at once. Config: [[monitors]] position.
Alignment. Where the centre zone sits on this display's bar. Default: Global (the value from the Modules tab). Choices: Global, Left, Center, Right (Top, Middle, Bottom on a side edge). Takes effect at once. Config: [[monitors]] align.
Custom height. Turn on to give the bar on this display its own height; a slider then appears. Off, it shows the global height. Default: off. Range: 24 to 96 px. Takes effect at once. Config: [[monitors]] bar-height.
Custom modules. Turn on to give this display its own module list. It starts as a copy of your current modules, and a grid appears with a checkbox for each module and a zone choice (Left, Center, Right). Off, the display shows the modules from the Modules page (Global). Default: off. Takes effect at once. Config: [[monitors]] modules.
Disconnected displays
Shown only when you have saved changes for a display that is not attached now. They apply again when the display comes back. Forget next to a display removes its changes.
Common tasks
- To move the bar to the top of the screen: Placement → Edge → Top.
- To make the bar slide away until you point at the edge: Placement → Visibility → Auto-hide, then tune Show after and Hide after.
- To let maximized windows cover the bar but still keep it reachable: Visibility → Let windows cover.
- To hide the bar on a second display: Displays → turn off Show bar on this display on that display's card.
- To put the bar on another edge of one display only: Displays → that display's Position.
- To drag modules around on the bar: Edit on the bar at the top of the page.
See also
- The bar and the task strip: Move the bar to another edge
- The bar and the task strip: Keep the bar visible, or let it hide
- The bar and the task strip: Tune how a hiding bar comes back
- Several displays and bars: Change the bar on one display
- Config file reference: [general]
- Config file reference: [behavior]
- [Config file reference: [[monitors]]](../config-reference.md#monitors)
- [Config file reference: [[modules.instances]]](../config-reference.md#modulesinstances)