1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-10-22 20:41:22 +00:00

Fixes powerarrow theme broken due to [[ nesting

One comment was using [[[[, making the lua parser crash at loading of
the theme.
This commit is contained in:
Stéphane Albert 2017-03-03 13:30:08 +01:00
parent 5ff41cc188
commit 019ce8f1be

View file

@ -328,7 +328,7 @@ function theme.at_screen_connect(s)
layout = wibox.layout.fixed.horizontal, layout = wibox.layout.fixed.horizontal,
wibox.widget.systray(), wibox.widget.systray(),
wibox.container.margin(scissors, 4, 8), wibox.container.margin(scissors, 4, 8),
--[[[[ using shapes --[[ using shapes
pl(wibox.widget { mpdicon, theme.mpd.widget, layout = wibox.layout.align.horizontal }, "#343434"), pl(wibox.widget { mpdicon, theme.mpd.widget, layout = wibox.layout.align.horizontal }, "#343434"),
pl(task, "#343434"), pl(task, "#343434"),
--pl(wibox.widget { mailicon, mail and mail.widget, layout = wibox.layout.align.horizontal }, "#343434"), --pl(wibox.widget { mailicon, mail and mail.widget, layout = wibox.layout.align.horizontal }, "#343434"),