mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 19:22:32 +00:00
rainbow: nil txt layout exception managed
This commit is contained in:
parent
05a857efcd
commit
c7ce79278e
|
@ -596,6 +596,7 @@ small_spr = wibox.widget.textbox('<span font="Tamsyn 4"> </span>')
|
||||||
-- Create a wibox for each screen and add it
|
-- Create a wibox for each screen and add it
|
||||||
mywibox = {}
|
mywibox = {}
|
||||||
mypromptbox = {}
|
mypromptbox = {}
|
||||||
|
mylayoutbox = {}
|
||||||
txtlayoutbox = {}
|
txtlayoutbox = {}
|
||||||
mytaglist = {}
|
mytaglist = {}
|
||||||
mytaglist.buttons = awful.util.table.join(
|
mytaglist.buttons = awful.util.table.join(
|
||||||
|
@ -644,7 +645,8 @@ mytasklist.buttons = awful.util.table.join(
|
||||||
-- Writes a string representation of the current layout in a textbox widget
|
-- Writes a string representation of the current layout in a textbox widget
|
||||||
function updatelayoutbox(layout, s)
|
function updatelayoutbox(layout, s)
|
||||||
local screen = s or 1
|
local screen = s or 1
|
||||||
layout:set_text(beautiful["layout_txt_" .. awful.layout.getname(awful.layout.get(screen))])
|
local txt_l = beautiful["layout_txt_" .. awful.layout.getname(awful.layout.get(screen))] or ""
|
||||||
|
layout:set_text(txt_l)
|
||||||
end
|
end
|
||||||
|
|
||||||
for s = 1, screen.count() do
|
for s = 1, screen.count() do
|
||||||
|
|
Loading…
Reference in a new issue