The [bar] section controls the status bar position, size, and widget layout.
| Option | Type | Default | Description |
|---|
size | float | 32.0 | Bar thickness in pixels. |
position | string | "left" | Screen edge: left, right, top, or bottom. |
start | string[] | ["LauncherBtn", "Workspaces", "SysInfo"] | Widgets in the start section. |
center | string[] | ["ActiveWindow"] | Widgets in the center section. |
end | string[] | ["Clock", "Mpris", "Notifications", "Systray", "KeyboardLayout", "Settings"] | Widgets in the end section. |
Vertical layout is used when position is left or right. Horizontal layout is used for top or bottom.
start = ["LauncherBtn", "Workspaces"]
end = ["Mpris", "Systray", "KeyboardLayout", "Settings"]
| Name | Aliases |
|---|
LauncherBtn | Launcher |
Workspaces | |
ActiveWindow | WindowTitle |
SysInfo | |
Clock | |
Systray | Tray |
KeyboardLayout | |
Settings | Info, ControlCenter |
Battery | |
Unknown names are ignored and logged as warnings.
Each module can be configured in the [bar.modules.<module_name>] section.
| Option | Type | Default | Description |
|---|
format_horizontal | string | "%d/%m/%Y %H:%M:%S" | Time format for horizontal bars (strftime). |
format_vertical | string | "%H\n%M\n%S" | Time format for vertical bars (strftime). |
| Option | Type | Default | Description |
|---|
show_icon | bool | true | Display battery icon. |
show_percentage | bool | true | Display battery percentage. |
| Option | Type | Default | Description |
|---|
show_icons | bool | true | Display workspace icons. |
show_numbers | bool | true | Display workspace numbers. |
| Option | Type | Default | Description |
|---|
show_cpu | bool | true | Display CPU usage. |
show_memory | bool | true | Display memory usage. |
show_temp | bool | false | Display CPU temperature. |
| Option | Type | Default | Description |
|---|
icon_size | float | 16.0 | Tray icon size in pixels. |
| Option | Type | Default | Description |
|---|
show_cover | bool | true | Display album cover art. |
max_width | float | 220.0 | Maximum widget width in pixels. |
| Option | Type | Default | Description |
|---|
max_length | integer | 64 | Maximum characters to display in title. |
show_app_icon | bool | true | Display application icon. |
| Option | Type | Default | Description |
|---|
show_flag | bool | false | Display flag emoji for language. |
| Option | Type | Default | Description |
|---|
icon | string | "" | Icon to display for launcher button. |
The Settings module has no configuration options.
start = ["LauncherBtn", "Workspaces"]
end = ["Mpris", "Systray", "KeyboardLayout", "Settings"]
format_horizontal = "%H:%M"
[bar.modules.keyboard_layout]