Refactor lua modules for object ownership
This commit is contained in:
+10
-2
@@ -1,2 +1,10 @@
|
||||
require("monitor")
|
||||
require("background")
|
||||
local monitor = require("monitor")
|
||||
local background = require("background")
|
||||
local status_bar = require("status_bar")
|
||||
|
||||
-- on event
|
||||
hl.on("hyprland.start", function()
|
||||
monitor.start()
|
||||
background.start()
|
||||
status_bar.start()
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user