feat: add on state logic

This commit is contained in:
loner
2025-11-03 09:58:37 +08:00
parent 5c19c8433e
commit e182fe2552
4 changed files with 247 additions and 37 deletions
+7 -2
View File
@@ -25,8 +25,13 @@ Singleton {
"CustomButton": {
"allowUserSettings": true,
"icon": "heart",
"exec": "",
"tooltipText": "Custom Button"
"onStateIcon": "heart",
"onClicked": "",
"onRightClicked": "",
"onMiddleClicked": "",
"onStateCommand": "",
"generalTooltipText": "Custom Button",
"enableOnStateLogic": false
}
})