diff --git a/doc/f00bar-modules.5.scd b/doc/f00bar-modules.5.scd index e8e1e80..9662c97 100644 --- a/doc/f00bar-modules.5.scd +++ b/doc/f00bar-modules.5.scd @@ -583,6 +583,41 @@ bar: string: {text: "{symbol}"} ``` +# XWINDOW + +This module provides the application name and window title of the +currently focused window. + +Note: this module is X11 only. It does not work in Wayland. If you are +running Sway, take a look at the _i3_ module and its _current_ tag. + +## TAGS + +[[ *Name* +:[ *Type* +:[ *Description* +| application +: string +: Name of the application that owns the currently focused window +| title +: string +: The title of the currently focused window + +## CONFIGURATION + +No additional attributes supported, only the generic ones (see +*GENERIC CONFIGURATION*) + +## EXAMPLES + +``` +bar: + left: + - xwindow: + content: + string: {text: "{application}: {title}"} +``` + # SEE ALSO *f00bar-particles*(5), *f00bar-tags*(5), *f00bar-decorations*(5)