xkblayout color (#702) [Originally by Ghost]
This commit is contained in:
parent
78aa40c98c
commit
ca4ced20c7
@ -31,10 +31,12 @@ class Xkblayout(IntervalModule):
|
||||
"""
|
||||
|
||||
interval = 1
|
||||
color = "#FFFFFF"
|
||||
format = "\u2328 {symbol}"
|
||||
layouts = []
|
||||
uppercase = True
|
||||
settings = (
|
||||
("color", "RGB hexadecimal color code specifuer, defaults to #FFFFFF"),
|
||||
("format", "Format string"),
|
||||
("layouts", "List of layouts"),
|
||||
("uppercase", "Flag for uppercase output"),
|
||||
@ -90,5 +92,5 @@ class Xkblayout(IntervalModule):
|
||||
self.data = cdict
|
||||
self.output = {
|
||||
"full_text": full_text,
|
||||
"color": "#FFFFFF",
|
||||
"color": self.color,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user