fix: fix monitor config

This commit is contained in:
2026-06-02 17:56:17 -04:00
parent c4fbd94891
commit 591515a149
2 changed files with 16 additions and 3 deletions
+15 -2
View File
@@ -1,9 +1,22 @@
local settings = require("lua.lib.settings")
local utils = require("lua.lib.utils")
local M = {}
M.monitors = {}
if settings["host"] == "laptop" then
hl.monitor({
M.monitors = table.insert({ {
output = "eDP-1",
mode = "highres",
scale = "auto",
})
} })
end
function M:load()
for _, monitor in ipairs(self.monitors) do
hl.monitor(monitor)
end
end
return utils.extend_config(M, "lua.user.conf.monitor")