mirror of
https://gitlab.com/manzerbredes/i3-colors.git
synced 2025-04-19 03:59:44 +00:00
Debug + add theme
This commit is contained in:
parent
0845aa2ce3
commit
6ba370ea54
2 changed files with 47 additions and 2 deletions
|
@ -119,8 +119,11 @@ class ThemeBuilder:
|
|||
for token in tokens:
|
||||
self.theme["bar_colors"][key][subkeys[0]]=self.get(token)
|
||||
subkeys.pop(0)
|
||||
elif re.match("(\s)*set",line):
|
||||
key,name,value=line.split()
|
||||
elif re.match("(\s)*set\s",line):
|
||||
lineList=line.split()
|
||||
key=lineList.pop(0)
|
||||
name=lineList.pop(0)
|
||||
value=" ".join(str(x) for x in lineList)
|
||||
self.vars.append(name)
|
||||
self.vars_values[name]=value
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue