Elv13 / tyrannical

Dynamic tagging configuration system for awesomeWM
211 stars 33 forks source link

Can't add class with a hyphen in the name to a tyrannical.properties. array #57

Closed ViktorNova closed 8 years ago

ViktorNova commented 9 years ago

This throws an error:

tyrannical.properties.border_width  = {
    lxqt-panel =   0
}

but this works perfectly:

tyrannical.properties.border_width  = {
    XTerm =   0
}

"lxqt-panel" works just fine in other parts of Tyrannical where it's in quotations, but in these sections quotations don't work. I have also tried escaping it with % and %% with no luck

freehaha commented 9 years ago

Hi, could you try this to see if it works?

tyrannical.properties.border_width  = {
    ["lxqt-panel"] =   0
}
ViktorNova commented 8 years ago

this works! thank you =)