[themes] Add support for generic warning/critical colors
Font and background colors for warning and critical elements can now be specified using fg-warning, fg-critical, bg-warning and bg-critical. Also, optionally, the "urgent" flag will be set towards the i3bar, if possible.
This commit is contained in:
parent
6278a4e564
commit
14bce293eb
5 changed files with 40 additions and 3 deletions
|
@ -6,6 +6,12 @@ class Module(object):
|
|||
def data(self):
|
||||
pass
|
||||
|
||||
def critical(self):
|
||||
return False
|
||||
|
||||
def warning(self):
|
||||
return False
|
||||
|
||||
def state(self):
|
||||
return "default"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue