diff options
Diffstat (limited to '.config/awesome/assets/phosphor/init.lua')
-rw-r--r-- | .config/awesome/assets/phosphor/init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/awesome/assets/phosphor/init.lua b/.config/awesome/assets/phosphor/init.lua index d17eae3..421ceb2 100644 --- a/.config/awesome/assets/phosphor/init.lua +++ b/.config/awesome/assets/phosphor/init.lua @@ -1,11 +1,12 @@ local gfs = require "gears.filesystem" local qfs = require "quarrel.fs" +---@type table<string, string> 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 + if icon:match ".+%.(.+)" == "svg" then icons[icon:match("(.+)%..+"):gsub("-", "_")] = phosphor_dir .. icon end end |