0 Module: xwindow
patrick96 edited this page 2023-11-06 00:56:15 +01:00

This module shows the title of the currently focused window.

NOTE: Requires a WM that supports the EWMH atom _NET_ACTIVE_WINDOW.

Basic settings

[module/title]
type = internal/xwindow

Additional formatting

; 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