Skip to content

Commit

Permalink
Made layout icons changeable via theme.lua file (BlingCorp#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aproxia-dev authored Apr 24, 2022
1 parent fbb914a commit bc980b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion layout/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ local layouts = {

for _, layout_name in ipairs(layouts) do
local icon_raw = get_layout_icon_path(layout_name)
beautiful["layout_" .. layout_name] = get_icon(icon_raw)
if beautiful["layout_" .. layout_name] == nil then
beautiful["layout_" .. layout_name] = get_icon(icon_raw)
end
M[layout_name] = require(... .. "." .. layout_name)
end

Expand Down

0 comments on commit bc980b7

Please sign in to comment.