Created Hook system (let's users run commands after specific actions)

NInputAction: create NTextInput with NButton
HooksService: add dark/light mode hook, add wallpaper change hook
HooksTab: create 1 NInputAction for each hook
Wallpaper: add hook functionallity
This commit is contained in:
Ly-sec 2025-09-04 17:54:58 +02:00
parent d53a404bf1
commit 37eefe3663
9 changed files with 274 additions and 3 deletions

View file

@ -335,6 +335,13 @@ Singleton {
property string manualSunrise: "06:30"
property string manualSunset: "18:30"
}
// hooks
property JsonObject hooks: JsonObject {
property bool enabled: false
property string wallpaperChange: ""
property string darkModeChange: ""
}
}
}
}