mirror of
https://github.com/polybar/polybar.git
synced 2026-02-15 20:46:03 +00:00
feat(xwindow): New module "xwindow"
Add module to display title of active window. Requires WM with support for the _NET_ACTIVE_WINDOW hint. Ref #84
This commit is contained in:
@ -61,6 +61,13 @@ namespace modules {
|
||||
update();
|
||||
}
|
||||
|
||||
/**
|
||||
* Disconnect from the event registry
|
||||
*/
|
||||
void xbacklight_module::teardown() {
|
||||
m_connection.detach_sink(this, 1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Handler for XCB_RANDR_NOTIFY events
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user