awesomerc: add support for layout icons from theme
This commit is contained in:
parent
ebb9869bd9
commit
9789a9cfad
|
@ -382,7 +382,7 @@ end)
|
||||||
awful.hooks.arrange.register(function (screen)
|
awful.hooks.arrange.register(function (screen)
|
||||||
local layout = awful.layout.get(screen)
|
local layout = awful.layout.get(screen)
|
||||||
if layout then
|
if layout then
|
||||||
mylayoutbox[screen].image = image("@AWESOME_ICON_PATH@/layouts/" .. layout .. "w.png")
|
mylayoutbox[screen].image = awful.beautiful.get_image("layout_"..layout)
|
||||||
else
|
else
|
||||||
mylayoutbox[screen].image = nil
|
mylayoutbox[screen].image = nil
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue