diff --git a/configuration/apps/run_on_startup.lua b/configuration/apps/run_on_startup.lua index 205f35aa..51105813 100644 --- a/configuration/apps/run_on_startup.lua +++ b/configuration/apps/run_on_startup.lua @@ -1,7 +1,7 @@ local require = require("util.rel_require") -local GLib = require("lgi.GLib") -local Gio = require("lgi.Gio") +local GLib = require("lgi").GLib +local Gio = require("lgi").Gio local config_file_dir = require(..., "conffile_dir") ---@module "configuration.apps.conffile_dir" local gfile = require("gears.filesystem") local path = require("util.path") diff --git a/configuration/environment.lua b/configuration/environment.lua index 48b32add..d5147227 100644 --- a/configuration/environment.lua +++ b/configuration/environment.lua @@ -1,5 +1,5 @@ local gfile = require("gears.filesystem") -local glib = require("lgi.GLib") +local glib = require("lgi").GLib local handle_error = require("util.handle_error") local path = require("util.path") diff --git a/configuration/keys/global.lua b/configuration/keys/global.lua index 6006ae38..10dc5a6c 100644 --- a/configuration/keys/global.lua +++ b/configuration/keys/global.lua @@ -1,6 +1,6 @@ local require = require("util.rel_require") -local Gio = require("lgi.Gio") +local Gio = require("lgi").Gio local aclient = require("awful.client") local alayout = require("awful.layout") local apps = require("configuration.apps") diff --git a/module/git-submodule.lua b/module/git-submodule.lua index a5adb6b2..20e7e8b7 100644 --- a/module/git-submodule.lua +++ b/module/git-submodule.lua @@ -1,4 +1,4 @@ -local Gio = require("lgi.Gio") +local Gio = require("lgi").Gio local gfile = require("gears.filesystem") local notifs = require("util.notifs") diff --git a/module/lastlog.lua b/module/lastlog.lua index 83ca34ed..b076847b 100644 --- a/module/lastlog.lua +++ b/module/lastlog.lua @@ -1,4 +1,4 @@ -local GLib = require("lgi.GLib") +local GLib = require("lgi").GLib local gstring = require("gears.string") local notifs = require("util.notifs") local spawn = require("util.spawn") diff --git a/util/awesome/widgets.lua b/util/awesome/widgets.lua index aff9f644..1e0d0b9f 100644 --- a/util/awesome/widgets.lua +++ b/util/awesome/widgets.lua @@ -1,4 +1,4 @@ -local GLib = require("lgi.GLib") +local GLib = require("lgi").GLib local abutton = require("awful.button") local bind = require("util.bind") local clickable_container = require("widget.material.clickable-container") diff --git a/util/file/sync/ls.lua b/util/file/sync/ls.lua index 64a261af..fe7972d8 100644 --- a/util/file/sync/ls.lua +++ b/util/file/sync/ls.lua @@ -1,4 +1,4 @@ -local Gio = require("lgi.Gio") +local Gio = require("lgi").Gio local new_file_for_path = require("util.file.new_file_for_path") local path = require("util.path") ---@param filepath string|GFile diff --git a/util/file/write_async.lua b/util/file/write_async.lua index e7ca8e56..6bc7c836 100644 --- a/util/file/write_async.lua +++ b/util/file/write_async.lua @@ -1,4 +1,4 @@ -local GLib = require("lgi.GLib") +local GLib = require("lgi").GLib local new_file_for_path = require("util.file.new_file_for_path") --- Replace a file content or create a new one - Async :) diff --git a/util/file/write_outputstream.lua b/util/file/write_outputstream.lua index 548afb07..9fe4fe73 100644 --- a/util/file/write_outputstream.lua +++ b/util/file/write_outputstream.lua @@ -1,4 +1,4 @@ -local GLib = require("lgi.GLib") +local GLib = require("lgi").GLib local assertions = require("util.types.assertions") --- Write to a stream - async diff --git a/widget/battery/dbus.lua b/widget/battery/dbus.lua index 45c8392d..67724c1e 100644 --- a/widget/battery/dbus.lua +++ b/widget/battery/dbus.lua @@ -1,4 +1,4 @@ -local Gio = require("lgi.Gio") +local Gio = require("lgi").Gio local await = require("await") local parallel_async = require("util.parallel_async") local properties = require("util.dbus.properties")