[modules] add a module "keys" that shows whether a key is pressed
also, add backend functionality to hide individual widgets of a module.
This commit is contained in:
parent
7d0d1455c8
commit
8d88b23947
4 changed files with 46 additions and 28 deletions
|
@ -216,6 +216,8 @@ class i3(object):
|
|||
continue
|
||||
if module.hidden():
|
||||
continue
|
||||
if widget.hidden:
|
||||
continue
|
||||
if "critical" in widget.state() and self.__config.errorhide(widget.module.name):
|
||||
continue
|
||||
blocks.extend(self.separator_block(module, widget))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue