aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/assets/phosphor/init.lua
diff options
context:
space:
mode:
authordelta <darkussdelta@gmail.com>2024-03-05 14:48:59 +0100
committerdelta <darkussdelta@gmail.com>2024-03-05 14:48:59 +0100
commit510ef8e178929cf5e0c7fd5a5120fecf5f1b79f2 (patch)
tree3582e5cd7d000335ca94f2a009f3aed57bd86919 /.config/awesome/assets/phosphor/init.lua
parent95ba8030f722a616cff06c122dcfb2f63e25cf45 (diff)
idk anymore
Diffstat (limited to '.config/awesome/assets/phosphor/init.lua')
-rw-r--r--.config/awesome/assets/phosphor/init.lua3
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