optimize hyprland monitor profile selection

This commit is contained in:
Frank Zechert
2026-08-09 16:27:22 +02:00
parent 0d6d3c094b
commit 46ca87b6c1
@@ -92,6 +92,8 @@ local function apply_monitor_profile()
end end
table.remove(apply_monitor_request_queue) table.remove(apply_monitor_request_queue)
-- make sure we know the up-to-date state of the system
hl.exec_scheduled_prop_refresh_immediately()
-- try to find all profiles that match current monitors -- try to find all profiles that match current monitors
local matching_profiles = {} local matching_profiles = {}