GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DWLB(1) User's Reference Manuals DWLB(1)

dwlb - feature-complete bar for dwl

dwlb [OPTIONS ...]

dwlb is a feature-complete status bar for dwl.

Pass dwlb as an argument to dwl's -s flag. This will populate each connected output with a bar.

For example:

dwl -s 'dwlb -font "monospace:size=16"'
    

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.

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 to HEXCOLOR.
^bg(HEXCOLOR)
Sets background color to HEXCOLOR.
^lm(SHELLCOMMAND)
Begins or terminates left mouse button region with action SHELLCOMMAND.
^mm(SHELLCOMMAND)
Begins or terminates middle mouse button region with action SHELLCOMMAND.
^rm(SHELLCOMMAND)
Begins or terminates right mouse button region with action SHELLCOMMAND.

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.

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.

To use someblocks, or any program that outputs to stdout, with dwlb, use this one-liner:

someblocks -p | dwlb -status-stdin all
    

Allow commands to be sent to dwl (dwl Must be patched)
Disable ipc

Bars will initially be hidden
Bars will not initially be hidden
Bars will initially be drawn at the bottom
Bars will initially be drawn at the top
-hide-vacant-tags
Do not display empty and inactive tags
Display empty and inactive tags
-status-commands
Enable in-line commands in status text
Disable in-line commands in status text
Center title text on bar
Do not center title text on bar
Do not display window title and Treat the area as another status text element; see -title command
Display current window title as normal
Specify a font
If ipc is disabled, specify custom tag names
Specify vertical pixel padding above and below text
Specify text color of active tags or monitors
Specify background color of active tags or monitors
Specify text color of occupied tags
Specify background color of occupied tags
Specify text color of inactive tags or monitors
Specify background color of inactive tags or monitors
Specify text color of urgent tags
Specify background color of urgent tags
Specify buffer scale value for integer scaling

Set status text
-status-stdin OUTPUT
Set status text from stdin
Set title text, if -custom-title Is enabled
Show bar
Hide bar
Toggle bar visibility
Draw bar at the top
Draw bar at the bottom
Toggle bar location

Get version information
View this help text

dwl(1), someblocks(1)

kolumni

2023 Linux

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.