event-hook: remove the exec type property & enumeration

With the latest changes, we can implement the "after-events" type
with external code that pushes a very low priority event that is
the "rescan" event.
This commit is contained in:
George Kiagiadakis
2022-11-24 17:39:21 +02:00
committed by Julian Bouzas
parent bcb4e80723
commit b100bdda4a
25 changed files with 49 additions and 242 deletions

View File

@@ -10,7 +10,6 @@ local putils = require ("policy-utils")
SimpleEventHook {
name = "find-default-target@policy-desktop",
type = "on-event",
priority = HookPriority.NORMAL,
interests = {
EventInterest {