aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/assets/phosphor/init.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/awesome/assets/phosphor/init.lua')
-rw-r--r--.config/awesome/assets/phosphor/init.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/.config/awesome/assets/phosphor/init.lua b/.config/awesome/assets/phosphor/init.lua
index c6a7eec..d17eae3 100644
--- a/.config/awesome/assets/phosphor/init.lua
+++ b/.config/awesome/assets/phosphor/init.lua
@@ -1,5 +1,4 @@
local gfs = require "gears.filesystem"
-local gsurface = require "gears.surface"
local qfs = require "quarrel.fs"
local icons = {}
@@ -7,7 +6,7 @@ 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("-", "_")] = gsurface.load_uncached(phosphor_dir .. icon)
+ icons[icon:match("(.+)%..+"):gsub("-", "_")] = phosphor_dir .. icon
end
end