aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/assets/phosphor/init.lua
diff options
context:
space:
mode:
authordelta <darkussdelta@gmail.com>2023-05-21 10:12:46 +0200
committerdelta <darkussdelta@gmail.com>2023-05-21 10:12:46 +0200
commitf42a3a2cc941e34dd938b1e6bc24785a44781db2 (patch)
treebec91db370c7bcd5be2bb614d2d315a32c751215 /.config/awesome/assets/phosphor/init.lua
parentf5612f081db0dc69f5c0ebc69e67fa3b098a9ad9 (diff)
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>
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