somebar(1)

πŸ“¦ version 1.0.3, in nixos 26.05, nixpkgs unstable

πŸ’– somebar πŸ’–

okay so welcome to the General Commands Manual page for somebar(1) β€” the little bar with big main-character energy. grab a strawberry πŸ“ and let's get into it.


✨ NAME ✨

somebar β€” a dwm-like bar for dwl. literally that's the whole vibe.


πŸ¦‹ SYNOPSIS πŸ¦‹

somebar [-h] [-v] [-s path] [-c command arguments... ]

πŸ’… DESCRIPTION πŸ’…

somebar is a status bar for dwl, and it looks and functions like the dwm bar. no cap, it's giving β€œdwm but make it dwl.” πŸ’–


🌸 USAGE 🌸

bestie, you must start somebar using dwl's -s flag, like this:

dwl -s somebar

Somebar can be controlled by writing to $XDG_RUNTIME_DIR/somebar-0, or to the path defined by the -s argument. here's the command menu:

  • status TEXT β€” updates the status bar
  • hide MONITOR β€” hides somebar on the specified monitor
  • show MONITOR β€” shows somebar on the specified monitor
  • toggle MONITOR β€” toggles somebar on the specified monitor

MONITOR is an zxdg_output_v1 name, which you can determine e.g. using weston-info. also, MONITOR can be all (all monitors) or selected (the monitor with focus). iconic options, honestly. πŸ‘‘

Commands can be sent either by writing to the file name above, or equivalently by calling somebar with the -c argument. for example:

somebar -c toggle all

This is recommended for shell scripts, because there is no race-free way to write to a file only if it exists.

bestie, that race-free thing is important β€” don't try to be cute with file writes and then act surprised when it's flaky. πŸ’€

πŸŽ€ OPTIONS πŸŽ€

  • -h β€” displays a short help text and exits
  • -v β€” displays version information and exits
  • -s β€” sets the path to the somebar control FIFO. the default value is $XDG_RUNTIME_DIR/somebar-0
  • -c β€” sends a command to the control FIFO. see the USAGE section.

πŸ’€ BUGS πŸ’€

send bug reports to ~raphi/public-inbox@lists.sr.ht β€” yes, that's the whole section. go off. 🫢


mwah πŸ’‹ β€” this was somebar-1.0, and you were reading the somebar(1) page. go be iconic ✨

πŸ“¦ where this page comes from