xmobar(1)
β¨ NAME β¨
xmobar β a configurable and extensible status bar for X11 desktops π
So like, it's a status bar. For X11. You can configure it and extend it. That's the whole vibe. Also, hi, you're reading the manual page for xmobar(1), which is exactly what you think it is. π«Ά
β¨ SYNOPSIS β¨
xmobar [OPTIONS] [CONFIG_FILE]
πΈ DESCRIPTION πΈ
okay so xmobar is a minimalistic, text based status bar. That's the whole thing. Text. Bar. Minimal. Iconic.
It was originally designed and implemented by Andrea Rossato to work with xmonad, but ngl it's actually usable with any window-manager β it's not loyal to just one, it's for everyone, periodt. π
The inspo was the Ion3 (http://tuomov.iki.fi/software/) status bar, and xmobar supports similar features, like:
- dynamic color management π¨
- output templates π
- extensibility through plugins π§©
This page documents xmobar 0.16. Yes, this specific page, this specific version. iykyk.
π₯ COMMAND LINE OPTIONS π₯
So here's the tea, bestie: you can configure xmobar either with a configuration file or with command line options. And if you do the second one, the command line options will overwrite the corresponding options set in the configuration file. CLI wins, no cap. π
xmobar goes looking for the configuration file in these locations, in this order:
$XDG_CONFIG_HOME/xmobar/xmobarrc(default:~/.config/xmobar/xmobarrc)~/.xmobarrc
The first configuration file found is the one that gets used. First come, first served, that's the rule. π«
If you want sample configuration files to peek at, go look in /usr/share/doc/xmobar/examples. Free real estate. π
Usage, like, in practice:
xmobar -B white -a right -F blue -t '%LIPB%' -c '[Run Weather "LIPB" [] 36000]'
And this is the list of command line options β it's literally the output of xmobar βhelp:
Usage: xmobar [OPTION...] [FILE]
Options:
-h, -? --help This help
-V --version Show version information
-f font name --font=font name The font name
-B bg color --bgcolor=bg color The background color. Default black
-F fg color --fgcolor=fg color The foreground color. Default grey
-o --top Place xmobar at the top of the screen
-b --bottom Place xmobar at the bottom of the screen
-a alignsep --alignsep=alignsep Separators for left, center and right text
alignment. Default: '}{'
-s char --sepchar=char The character used to separate commands in
the output template. Default '%'
-t template --template=template The output template
-c commands --commands=commands The list of commands to be executed
-C commands --add-commands=commands Add commands to be executed after those
of the config file
-x screen --screen=screen On which X screen number to start
Mail bug reports and suggestions to <xmobar@projects.haskell.org>
Same list, but one bullet at a time, because I love you and I want you to actually read it π:
-h,-?,--helpβ this help. That's it. That's the option.-V,--versionβ show version information π- *
-f*font name,--font=font name β the font name, bestie. - *
-B*bg color,--bgcolor=bg color β the background color. Defaultblack. π€ - *
-F*fg color,--fgcolor=fg color β the foreground color. Defaultgrey. π©Ά -o,--topβ placexmobarat the top of the screen β¬οΈ-b,--bottomβ placexmobarat the bottom of the screen β¬οΈ- *
-a*alignsep,--alignsep=alignsep β separators for left, center and right text alignment. Default:'}{'π - *
-s*char,--sepchar=char β the character used to separate commands in the output template. Default'%'β¨ - *
-t*template,--template=template β the output template π - *
-c*commands,--commands=commands β the list of commands to be executed β‘ -Ccommands,--add-commands=commands β add commands to be executed **after those of the config file π§©- *
-x*screen,--screen=screen β on which X screen number to start π₯οΈ
Mail bug reports and suggestions to <xmobar@projects.haskell.org> π
π¦ CONFIGURATION π¦
For full details of the available configuration options, please refer to /usr/share/doc/xmobar/readme.org.gz. Like, genuinely, that's where the full deets live. Go read it. It's giving documentation. π
π AUTHOR π
Andrea Rossato originally designed and implemented xmobar up to version 0.11.1. Since then, it's maintained by Jose Antonio Ortega Ruiz (http://hacks-galore.org/jao/). Passing the torch, main character energy, we love to see it. π«Ά
This manual page was written by Apollon Oikonomopoulos <apoikos@debian.org> for the Debian project (but may be used by others). Generous queen behavior, honestly. π
π LICENSE π
This software is released under a BSD-style license. See /usr/share/doc/xmobar/copyright for more details. Go read the fine print, it's important. β
- Copyright Β© 2007β2010 Andrea Rossato
- Copyright Β© 2010β2014 Jose Antonio Ortega Ruiz
and that's the whole page, bestie π this came out of the xmobar(1) manual β the general commands manual β and it was dated July 2, 2014. slay, go forth and configure your status bar β¨π¦π
π¦ where this page comes from
- debian bookworm: xmobar 0.46-1 Β· BSD-3-Clause
- debian trixie: xmobar 0.48.1-1+b1 Β· BSD-3-Clause
- ubuntu noble: xmobar 0.46-3ubuntu3 Β· BSD-3-Clause
- ubuntu resolute: xmobar 0.48.1-1ubuntu1 Β· BSD-3-Clause
- ubuntu stonking: xmobar 0.50-1ubuntu4 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms