Merge pull request #3926 from casKd-dev/dwl/hide-title

dwl/window: allow hiding of title when either inactive or empty
This commit is contained in:
Alexis Rouillard
2026-07-03 23:20:36 +02:00
committed by GitHub
3 changed files with 45 additions and 2 deletions
+14
View File
@@ -17,6 +17,16 @@ Addressed by *dwl/window*
default: {title} ++
The format, how information should be displayed.
*hide-empty*: ++
typeof: bool ++
default: false ++
Option to hide the module when the content would be empty.
*hide-inactive*: ++
typeof: bool ++
default: false ++
Option to hide the module when the window is unfocused.
*rotate*: ++
typeof: integer ++
Positive value to rotate the text label (in 90 degree increments).
@@ -109,6 +119,10 @@ If no expression matches, the format output is left unchanged.
Invalid expressions (e.g., mismatched parentheses) are skipped.
# STYLE
- *#window.active*
# EXAMPLES
```