A tool for customizing the status bar appearance on Wayland (Sway)
Unlike other bars, it doesn't have its own configuration folder, but only a single file in the sway folder
POSIX focused - Only
- Linux: Supported
- macOS: Supported (untested)
- Windows: Untested
| Key | Description |
|---|---|
disk.free |
free disk space |
disk.used |
used disk space |
cpu.used |
CPU usage percentage |
memory.used |
used memory |
memory.free |
free memory |
date.year |
full year (e.g. 2026) |
date.year.short |
last two digits of year (e.g. 26) |
date.month |
month number (01–12) |
date.day |
day of month (01–31) |
time.hour |
hour (00–23) |
time.min |
minute (00–59) |
time.sec |
second (00–59) |
Create the configuration file:
~/.config/sway/linebar.tomlWrite into file e.g.:
[general]
interval = 1000
format = "[{date.day}-{date.month}.{date.year.short} {time.hour}:{time.min}:{time.sec}]"Open the sway config file:
~/.config/sway/configChange the status_command line inside the bar block to linebar:
bar {
position bottom
status_command linebar
}