mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
parent
4a506d429d
commit
b728fea5be
1 changed files with 7 additions and 0 deletions
|
@ -114,6 +114,13 @@ namespace modules {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool i3_module::update() {
|
bool i3_module::update() {
|
||||||
|
/*
|
||||||
|
* update only populates m_workspaces and those are only needed when
|
||||||
|
* <label-state> appears in the format
|
||||||
|
*/
|
||||||
|
if (!m_formatter->has(TAG_LABEL_STATE)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
m_workspaces.clear();
|
m_workspaces.clear();
|
||||||
i3_util::connection_t ipc;
|
i3_util::connection_t ipc;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue