dots/.config/awesome/assets/phosphor/init.lua
delta f42a3a2cc9 major update of awesome config
add new icons, switch over to using stylesheets instead of gears.color.recolor_image, add a music widget to the panel, optimize services in common.lua, fix the application lense filtering and increase the update rate of services in common.lua

Signed-off-by: delta <darkussdelta@gmail.com>
2023-05-21 10:12:46 +02:00

14 lines
361 B
Lua

local gfs = require "gears.filesystem"
local qfs = require "quarrel.fs"
local icons = {}
local phosphor_dir = gfs.get_configuration_dir() .. "assets/phosphor/"
for _, icon in ipairs(qfs.ls_files(phosphor_dir)) do
if icon:match(".+%.(.+)") == "svg" then
icons[icon:match("(.+)%..+"):gsub("-", "_")] = phosphor_dir .. icon
end
end
return icons