Refactor lua modules for object ownership

This commit is contained in:
Nina Chlóe Kassandra Reiß
2026-06-19 10:55:05 +02:00
parent 82f6f840a5
commit 55f5a412d9
4 changed files with 24 additions and 5 deletions
+10 -2
View File
@@ -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)