Skip to content

Bar

The [bar] section controls the status bar position, size, and widget layout.

OptionTypeDefaultDescription
sizefloat32.0Bar thickness in pixels.
positionstring"left"Screen edge: left, right, top, or bottom.
startstring[]["LauncherBtn", "Workspaces", "SysInfo"]Widgets in the start section.
centerstring[]["ActiveWindow"]Widgets in the center section.
endstring[]["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.

[bar]
size = 40.0
position = "top"
start = ["LauncherBtn", "Workspaces"]
center = ["Clock"]
end = ["Mpris", "Systray", "KeyboardLayout", "Settings"]
NameAliases
LauncherBtnLauncher
Workspaces
ActiveWindowWindowTitle
SysInfo
Clock
SystrayTray
KeyboardLayout
SettingsInfo, ControlCenter
Battery

Unknown names are ignored and logged as warnings.

Each module can be configured in the [bar.modules.<module_name>] section.

OptionTypeDefaultDescription
format_horizontalstring"%d/%m/%Y %H:%M:%S"Time format for horizontal bars (strftime).
format_verticalstring"%H\n%M\n%S"Time format for vertical bars (strftime).
OptionTypeDefaultDescription
show_iconbooltrueDisplay battery icon.
show_percentagebooltrueDisplay battery percentage.
OptionTypeDefaultDescription
show_iconsbooltrueDisplay workspace icons.
show_numbersbooltrueDisplay workspace numbers.
OptionTypeDefaultDescription
show_cpubooltrueDisplay CPU usage.
show_memorybooltrueDisplay memory usage.
show_tempboolfalseDisplay CPU temperature.
OptionTypeDefaultDescription
icon_sizefloat16.0Tray icon size in pixels.
OptionTypeDefaultDescription
show_coverbooltrueDisplay album cover art.
max_widthfloat220.0Maximum widget width in pixels.
OptionTypeDefaultDescription
max_lengthinteger64Maximum characters to display in title.
show_app_iconbooltrueDisplay application icon.
OptionTypeDefaultDescription
show_flagboolfalseDisplay flag emoji for language.
OptionTypeDefaultDescription
iconstring"layers"Icon for the button. See Icons.

Anywhere the config takes an icon, the value is either:

  • a built-in name — the file stems under crates/assets/icons/, without the .svg: icon = "layers", icon = "battery_low".
  • a path to your own file — anything containing /, or starting with ~: icon = "~/.config/gpuishell/icons/mine.svg". An .svg is tinted by the theme like a built-in; PNG and JPG render as-is. A relative path needs a ./ prefix, so a bare name is never mistaken for one.

A value that resolves to neither is ignored with a warning in the log, and the built-in icon is used — a stale icon never invalidates the rest of your config.

The Settings module has no configuration options.

[bar]
size = 40.0
position = "top"
start = ["LauncherBtn", "Workspaces"]
center = ["Clock"]
end = ["Mpris", "Systray", "KeyboardLayout", "Settings"]
[bar.modules.clock]
format_horizontal = "%H:%M"
[bar.modules.battery]
show_percentage = true
[bar.modules.mpris]
show_cover = false
max_width = 300.0
[bar.modules.keyboard_layout]
show_flag = true