dotfiles/.config/luakit/load_styles.lua.cgt

10 lines
263 B
Text
Raw Normal View History

-- <! tmpl:setPostProcessor(opt.luaCompile) !>
2022-02-13 22:10:51 +01:00
local lfs = require "lfs"
local styles = require "styles"
for f in lfs.dir(luakit.config_dir .. "/styles") do
if f:match [[.css$]] then
styles.load_file(luakit.config_dir .. "/styles/" .. f)
end
end