SPACEBAR(1)
π
SPACEBAR(1) β the spacebar manual, but make it a group chat
okay so bestie, buckle up π this is the manpage for spacebar from the spacebar manual, and I'm gonna walk you through every single flag like we're texting at 2am. no skips, no "you'll figure it out", we're doing the whole thing. periodt. β¨
β¨ NAME β¨
spacebar β a simple status bar for macOS π
π¦ SYNOPSIS π¦
spacebar [-v,--version|-V,--verbose|-m,--message msg|-c,--config
config_file]
she's short, she's sweet, she takes exactly one of those at a time, iykyk π
πΈ DESCRIPTION πΈ
so literally: spacebar is a simple status bar for macOS. that's the whole pitch. iconic, honestly. π
π OPTIONS π
-v,--versionβ prints the version and dips. bye bestie π-V,--verboseβ dumps debug info to stdout so you can see what she's thinking π-m,--message <msg>β sends a message over to aspacebarinstance that's already running π«Ά-c,--config <config_file>β tells her to use that specific config file, not the usual one π
π CONFIG π
π§ General Syntax
spacebar -m config <setting>
this lil line is how you get or set the value of <setting>. one line, both jobs, main character energy β¨
β Settings
debug_output [<BOOL_SEL>]β turns on debug info output to stdout. loud and proud π’display [<display>]β which display to draw the bar on. must be one ofmainorall. choose wisely babes π₯οΈposition [<position>]β where on the screen the bar goes. must be one oftoporbottomβ¬οΈβ¬οΈheight [<NUM>]β height in pixels for drawing the bar πtitle [<BOOL_SEL>]β turns on the focused window title, right in the centre of the bar. heads up tho: this cannot be enabled whencenter_shellis set toon. pick a lane πspaces [<BOOL_SEL>]β turns on the space indicator, over on the left of the bar πΈspace_icon_strip [<sym_1> <sym_2> <sym_n>]β give her symbols separated by whitespace and she'll use them to visualize spaces πspaces_for_all_displays [<BOOL_SEL>]β turns on space indicators for the spaces on each display π₯οΈπ₯οΈspace_icon [<sym>]β a general symbol for any space that doesn't have a match inspace_icon_stripπ¦space_icon_color [<COLOR>]β color for drawing the current space icon π¨space_icon_color_secondary [<COLOR>]β color for drawing the current space icon on the second display πspace_icon_color_tertiary [<COLOR>]β color for drawing the current space icon on the third display πdisplay_separator [<BOOL_SEL>]β turns on a separator between the spaces for each display βdisplay_separator_icon [<sym>]β the symbol to use for that display separator βοΈdisplay_separator_icon_color [<COLOR>]β color for drawing the display separator icon ποΈclock [<BOOL_SEL>]β turns on the clock over on the right of the bar πpower [<BOOL_SEL>]β turns on the power indicator over on the right of the bar πpadding_left [<NUM>]β padding in pixels between the left edge of the display and the first item πpadding_right [<NUM>]β padding in pixels between the right edge of the display and the last item πspacing_left [<NUM>]β spacing in pixels between the left space indicators βοΈspacing_right [<NUM>]β spacing in pixels between the right status segments βοΈtext_font [<font_family>:<font_style>:<font_size>]β name, style and size of the font for drawing text. useFont Book.appto figure out the right name, no guessing π€icon_font [<font_family>:<font_style>:<font_size>]β name, style and size of the font for drawing icon symbols. again:Font Book.appis your bestie for the correct name π―background_color [<COLOR>]β color for drawing the status bar background πΌοΈforeground_color [<COLOR>]β color for drawing the status bar elements β¨power_icon_strip [<sym_battery> <sym_ac>]β two symbols separated by whitespace, please. first one = battery power, second one = AC β‘power_icon_color [<COLOR>]β color for drawing the power (charging) icon πbattery_icon_color [<COLOR>]β color for drawing the battery icon πclock_icon [<sym>]β a symbol to represent the current time β°clock_icon_color [<COLOR>]β color for drawing the clock icon π°οΈclock_format [<sym>]β a format for the current time, according to thestrftimefunction ποΈdnd [<BOOL_SEL>]β turns on a DoNotDisturb indicator over on the right of the bar πdnd_icon [<sym>]β a symbol to represent the current DoNotDisturb status π€dnd_icon_color [<COLOR>]β color for drawing the DoNotDisturb icon π¨left_shell [<BOOL_SEL>]β turns on shell output on the left of the bar πright_shell [<BOOL_SEL>]β turns on shell output on the right of the bar πcenter_shell [<BOOL_SEL>]β turns on shell output at the center of the bar. and yeah β this cannot be enabled whentitleis set toonπleft_shell_icon [<sym>]β a symbol to prefix the left shell output π·οΈleft_shell_icon_color [<COLOR>]β color for drawing the left shell icon ποΈleft_shell_command [<shell command>]β the command pipeline that fetches the output to display in the left shell sectionright_shell_icon [<sym>]β a symbol to prefix the right shell output π·οΈright_shell_icon_color [<COLOR>]β color for drawing the right shell icon ποΈright_shell_command [<shell command>]β the command pipeline that fetches the output to display in the right shell sectioncenter_shell_command [<shell command>]β the command pipeline that fetches the output to display in the center shell section
π¨ okay this is the important bit, do NOT scroll past: forleft_shell_command,right_shell_commandandcenter_shell_commandthere is NO timeout protection for the command pipeline. like, none. so be sure to set it to something that returns output quickly, bestie, or she'll just be standing there waiting and it's giving awkward π
π EXIT CODES π
if spacebar can't handle a message, she'll return a non-zero exit code. that's the tell π©
π AUTHOR π
Calum MacRae <hi at cmacr.ae> β shoutout to the icon who made this π«Ά
and that's the whole page, you're officially a spacebar expert now, no cap π this was spacebar from the spacebar manual, dated 2021-04-08, and honestly? she ate. π
β¨π
π¦ where this page comes from
- nixpkgs unstable: spacebar 1.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms