DWLB(1)
π DWLB(1) β from the User's Reference Manuals β¨
okay bestie, welcome to the dwlb(1) page β this is the iconic manual for dwlb, and we're gonna get you fully caught up. No cap, it's giving βstatus bar but make it actually feature-complete.β π«Ά
πΈ NAME πΈ
dwlb β feature-complete bar for dwl π
β¨ SYNOPSIS β¨
dwlb [OPTIONS ...]
π¦ DESCRIPTION π¦
dwlb is a feature-complete status bar for dwl. literally that's the whole vibe. π
π USAGE π
Pass dwlb as an argument to dwl's -s flag. This will populate each connected output with a bar. slay. π
For example:
dwl -s 'dwlb -font "monospace:size=16"'
π‘ IPC π‘
If dwl is patched appropriately, dwlb is capable of communicating directly with dwl. When IPC is enabled with -ipc, dwlb does not read from stdin, and clicking tags functions as you would expect. IPC can be disabled with -no-ipc. iykyk π₯
π οΈ Commands π οΈ
Command options send instructions to existing instances of dwlb. All commands take at least one argument to specify a bar on which to operate. This may be zxdg_output_v1 name, "all" to affect all outputs, or "selected" for the current output.
The -status and -title commands are used to write status text. The text may contain in-line commands in the following format: ^cmd(argument).
^fg(HEXCOLOR)β Sets foreground color toHEXCOLOR.^bg(HEXCOLOR)β Sets background color toHEXCOLOR.^lm(SHELLCOMMAND)β Begins or terminates left mouse button region with actionSHELLCOMMAND.^mm(SHELLCOMMAND)β Begins or terminates middle mouse button region with actionSHELLCOMMAND.^rm(SHELLCOMMAND)β Begins or terminates right mouse button region with actionSHELLCOMMAND.
In this example, clicking the text highlighted in red will spawn the foot terminal.
dwlb -status all 'text ^bg(ff0000)^lm(foot)text^bg()^lm() text'
A color command with no argument reverts to the default value. ^^ represents a single ^ character. Status commands can be disabled with -no-status-commands. π
π Scaling π
If you use scaling in Wayland, you can specify buffer_scale through config file or by passing it as an option (only integer values):
dwlb -scale 2
This will render both surface and a cursor with 2Γ detail. If your monitor is set to 1.25 or 1.5 scaling, setting scale to 2 will also work as compositor will downscale the buffer properly. bestie that's actually so neat π§
π§© Someblocks π§©
To use someblocks, or any program that outputs to stdout, with dwlb, use this one-liner:
someblocks -p | dwlb -status-stdin all
π OPTIONS π
π‘ IPC π‘
-ipcβ Allow commands to be sent todwl(dwlMust be patched)-no-ipcβ Disable ipc
π οΈ Configuration π οΈ
-hiddenβ Bars will initially be hidden-no-hiddenβ Bars will not initially be hidden-bottomβ Bars will initially be drawn at the bottom-no-bottomβ Bars will initially be drawn at the top-hide-vacant-tagsβ Do not display empty and inactive tags-no-hide-vacant-tagsβ Display empty and inactive tags-status-commandsβ Enable in-line commands in status text-no-status-commandsβ Disable in-line commands in status text-center-titleβ Center title text on bar-no-center-titleβ Do not center title text on bar-custom-titleβ Do not display window title and Treat the area as another status text element; see-titlecommand-no-custom-titleβ Display current window title as normal-font FONTβ Specify a font-tags NUMBER FIRST...LASTβ If ipc is disabled, specify custom tag names-vertical-padding PIXELSβ Specify vertical pixel padding above and below text-active-fg-color COLORβ Specify text color of active tags or monitors-active-bg-color COLORβ Specify background color of active tags or monitors-occupied-fg-color COLORβ Specify text color of occupied tags-occupied-bg-color COLORβ Specify background color of occupied tags-inactive-fg-color COLORβ Specify text color of inactive tags or monitors-inactive-bg-color COLORβ Specify background color of inactive tags or monitors-urgent-fg-color COLORβ Specify text color of urgent tags-urgent-bg-color COLORβ Specify background color of urgent tags-scale BUFFER_SCALEβ Specify buffer scale value for integer scaling
π§ Commands π§
-status OUTPUT TEXTβ Set status text-status-stdin OUTPUTβ Set status text from stdin-title OUTPUT TEXTβ Set title text, if-custom-titleIs enabled-show OUTPUTβ Show bar-hide OUTPUTβ Hide bar-toggle-visibility OUTPUTβ Toggle bar visibility-set-top OUTPUTβ Draw bar at the top-set-bottom OUTPUTβ Draw bar at the bottom-toggle-location OUTPUTβ Toggle bar location
π Others π
-vβ Get version information-hβ View this help text
π SEE ALSO π
dwl(1), someblocks(1) β go read those too, bestie π
π AUTHOR π
kolumni
xoxo, this page comes from the Linux source, version/date 2023, with the DWLB(1) footer badge β bye bestie ππ
π¦ where this page comes from
- nixpkgs unstable: dwlb 0-unstable-2025-05-20
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms