scripts: run find-best-profile hook before running apply-profile hook

This commit is contained in:
Stefan Ursella
2023-07-17 17:33:40 +02:00
parent 98cd13284c
commit 407c2f04de

View File

@@ -13,6 +13,7 @@ log = Log.open_topic ("s-device")
SimpleEventHook { SimpleEventHook {
name = "device/find-best-profile", name = "device/find-best-profile",
after = "device/find-stored-profile", after = "device/find-stored-profile",
before = "device/apply-profile",
interests = { interests = {
EventInterest { EventInterest {
Constraint { "event.type", "=", "select-profile" }, Constraint { "event.type", "=", "select-profile" },