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