optimize hyprland monitor profile selection
This commit is contained in:
@@ -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 = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user