feat: docked fallback now displays notification

This commit is contained in:
2026-06-22 09:10:19 +02:00
parent 2f54941a80
commit 21475d4dd7
+5 -1
View File
@@ -22,7 +22,11 @@ hl.notification.create({
text = "Config for " .. (laptop_config and "laptop" or "desktop") .. " loaded", text = "Config for " .. (laptop_config and "laptop" or "desktop") .. " loaded",
timeout = 5000, timeout = 5000,
}) })
if #hl.get_monitors() <= 1 then if is_docked and #hl.get_monitors() <= 1 then
hl.notification.create({
text = "Emergency docked mode fallback initiated: No external displays detected",
timeout = 5000,
})
is_docked = false is_docked = false
end end