yambar-modules-dwl(5)
π dwl β yambar-modules-dwl(5)
okay bestie, welcome to the dwl module page (yeah, that's the manual name too, yambar-modules-dwl(5), we love a consistent queen π). This one's all about feeding your bar info about your dwl tags. Let's get into it β¨
πΈ DESCRIPTION πΈ
So this module gives you a map of every tag that's chillin' in dwl π
Each tag comes with its id, its name, its status (selected, empty, urgent), plus all the global data like title, appid, fullscreen, floating, selmon, and layout. The tags start at 1. And for those moments where you only want the global data and not the tags (very valid!), there's a tag with the id 0 that contains only the global data. iykyk π«Ά
This module tracks only the monitor where yambar was launched. Multi-monitor setup? Then please launch yambar on each of your monitors, bestie, that's just how it is π
β οΈ Heads up: only one instance of this module is supported. Running multiple instances at the same time may result in undefined behavior. Not cute, not iconic, just chaos π
β¨ TAGS β¨
Here's the whole lineup, no notes, they all ate π
id(int) β dwl tag id.name(string) β the name of the tag (defaults toidif not set).selected(bool) βtrueif the tag is currently selected.empty(bool) βtrueif there are no windows in the tag.urgent(bool) βtrueif the tag has the urgent flag set.title(string) β the currently focused window's title.appid(string) β the currently focused window's application id.fullscreen(bool) βtrueif there is a fullscreen window in the current tag.floating(bool) βtrueif there is a floating window in the current tag.selmon(bool) βtrueif the monitor is actually focused.layout(string) β the actual layout name of the tag.
π CONFIGURATION π
Three settings, that's the whole vibe check π
number-of-tags(int, required: yes) β the number of defined tags in the dwlconfig.def.h.name-of-tags(list, required: false) β the name of the tags (must have the same length thatnumber-of-tags).dwl-info-filename(string, required: yes) β the filepath to the log emitted by dwl when running.
π¦ EXAMPLES π¦
okay here's a whole look for you, copy-paste away bestie π
bar:
left:
- dwl:
number-of-tags: 9
dwl-info-filename: "/home/ogromny/dwl_info"
name-of-tags: [ , , , , , , , , ]
content:
list:
items:
- map:
conditions:
# default tag
id == 0: {string: {text: "{layout} {title}"}}
selected: {string: {text: "-> {name}"}}
~empty: {string: {text: "{name}"}}
urgent: {string: {text: "=> {name} <="}}
The map is giving main character energy: id == 0 catches the default tag and shows you {layout} {title}, selected gets the -> {name} glow-up, ~empty (that's not empty, mwah π) shows plain {name}, and urgent gets the dramatic => {name} <= treatment π₯
π SEE ALSO π
Go read these too, bestie: yambar-modules(5), yambar-particles(5), yambar-tags(5), yambar-decorations(5)
periodt, that's the page π this was yambar-modules-dwl(5), dated 2024-04-22, straight from the File Formats Manual. slay responsibly, love u π«Άπ
π¦ where this page comes from
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- opensuse-leap 16.0: yambar 1.11.0-bp160.1.14 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms