mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-24 04:45:41 +02:00
doc: xwindow
This commit is contained in:
parent
040aa9417b
commit
6b050ff457
1 changed files with 35 additions and 0 deletions
|
@ -583,6 +583,41 @@ bar:
|
||||||
string: {text: "{symbol}"}
|
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
|
# SEE ALSO
|
||||||
|
|
||||||
*f00bar-particles*(5), *f00bar-tags*(5), *f00bar-decorations*(5)
|
*f00bar-particles*(5), *f00bar-tags*(5), *f00bar-decorations*(5)
|
||||||
|
|
Loading…
Add table
Reference in a new issue