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 {
name = "device/find-best-profile",
after = "device/find-stored-profile",
before = "device/apply-profile",
interests = {
EventInterest {
Constraint { "event.type", "=", "select-profile" },