mirror of https://github.com/polybar/polybar.git
Page:
Module: xwindow
Pages
Compiling
Configuration
Debugging your Config
Distro Specific Setup
Fonts
Formatting
Home
Inter process messaging
Known Issues
Module: alsa
Module: backlight
Module: battery
Module: bspwm
Module: cpu
Module: date
Module: filesystem
Module: github
Module: i3
Module: ipc
Module: memory
Module: menu
Module: mpd
Module: network
Module: pulseaudio
Module: script
Module: temperature
Module: text
Module: xbacklight
Module: xkeyboard
Module: xwindow
Module: xworkspaces
Release Guidelines
Style Guide
Testing
User contributed modules
13
Module: xwindow
patrick96 edited this page 2023-11-06 00:56:15 +01:00
Table of Contents
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
This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
- 🏠 Home
- ℹ️ Help
- ⚙️ Configuration
- 🎨 Formatting
- 🗛 Fonts
- 💥 Actions
- 🏗️ Compiling
- 🔧 Debugging your Config
- 💬 Inter process messaging
- 🤫 Known Issues
- 📦 Packaging Polybar
- For Developers:
- Modules: