From 510ef8e178929cf5e0c7fd5a5120fecf5f1b79f2 Mon Sep 17 00:00:00 2001 From: delta Date: Tue, 5 Mar 2024 14:48:59 +0100 Subject: idk anymore --- .config/awesome/assets/phosphor/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.config/awesome/assets/phosphor/init.lua') 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 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 -- cgit v1.2.3