From 274df77bba6e88563f754bf8fec18e6d6cceb61d Mon Sep 17 00:00:00 2001 From: Gokul Swaminathan Date: Wed, 3 Nov 2021 14:44:03 -0700 Subject: [PATCH] Minor edits for the icon_theme and app_launcher PR --- {module => helpers}/icon_theme.lua | 3 +-- widget/app_launcher.lua | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) rename {module => helpers}/icon_theme.lua (97%) diff --git a/module/icon_theme.lua b/helpers/icon_theme.lua similarity index 97% rename from module/icon_theme.lua rename to helpers/icon_theme.lua index efc7c30..492d81e 100644 --- a/module/icon_theme.lua +++ b/helpers/icon_theme.lua @@ -2,7 +2,6 @@ local Gio = require("lgi").Gio local Gtk = require("lgi").Gtk local gobject = require("gears.object") local gtable = require("gears.table") -local beautiful = require("beautiful") local helpers = require("helpers") local setmetatable = setmetatable local ipairs = ipairs @@ -119,4 +118,4 @@ function icon_theme.mt:__call(...) return new(...) end -return setmetatable(icon_theme, icon_theme.mt) \ No newline at end of file +return setmetatable(icon_theme, icon_theme.mt) diff --git a/widget/app_launcher.lua b/widget/app_launcher.lua index cc13659..8ef7d92 100644 --- a/widget/app_launcher.lua +++ b/widget/app_launcher.lua @@ -5,7 +5,7 @@ local gtable = require("gears.table") local gtimer = require("gears.timer") local wibox = require("wibox") local beautiful = require("beautiful") -local icon_theme = require(tostring(...):match(".*bling") .. ".module.icon_theme")() +local icon_theme = require(tostring(...):match(".*bling") .. ".helpers.icon_theme")() local dpi = beautiful.xresources.apply_dpi local string = string