feat: Add custom button collapse condition

This commit is contained in:
loner
2025-10-23 00:01:31 +08:00
parent c832d7b2da
commit beefae7350
4 changed files with 32 additions and 3 deletions
+5
View File
@@ -1091,6 +1091,10 @@
"refresh-interval": {
"label": "Refresh interval",
"description": "Interval in milliseconds."
},
"collapse-condition": {
"label": "Collapse condition",
"description": "If the output text matches this value, the button will collapse."
}
},
"media-mini": {
@@ -1335,6 +1339,7 @@
"enter-width-pixels": "Enter width in pixels",
"enter-command": "Enter command to execute (app or custom script)",
"command-example": "echo \"Hello World\"",
"enter-text": "Enter text to collapse (e.g., 'nothing is playing')",
"search-wallpapers": "Type to filter wallpapers...",
"search-launcher": "Search entries... or use > for commands",
"search": "Search...",