Module: xwindow
patrick96 edited this page Nov 5, 2023
·
13 revisions
This module shows the title of the currently focused window.
NOTE: Requires a WM that supports the EWMH atom _NET_ACTIVE_WINDOW
.
[module/title]
type = internal/xwindow
; Available tags:
; <label> (default)
format = <label>
format-background = #f00
format-foreground = #000
format-padding = 4
; Available tokens:
; %title%
; %instance% (first part of the WM_CLASS atom, new in version 3.7.0)
; %class% (second part of the WM_CLASS atom, new in version 3.7.0)
; Default: %title%
label = %title%
label-maxlen = 50
; Used instead of label when there is no window title
; Available tokens:
; None
label-empty = Empty
label-empty-foreground = #707880
- π Home
- βΉοΈ Help
- βοΈ Configuration
- π¨ Formatting
- π Fonts
- π₯ Actions
- ποΈ Compiling
- π§ Debugging your Config
- π¬ Inter process messaging
- π€« Known Issues
- π¦ Packaging Polybar
-
For Developers:
- π Release Guidelines
- π¨ Style Guide
- π§ͺ Testing
- π§ Distro Specific Setup
- Modules: