mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
feat(hooks): added a 3rd argument to the wallpapper changed hook (light/dark)
This commit is contained in:
@@ -1220,7 +1220,7 @@
|
||||
},
|
||||
"hooks": {
|
||||
"info-command-info-description": "• Commands are executed via shell (sh -lc)<br>• Commands run in background (detached)<br>• Test buttons execute with current values",
|
||||
"info-parameters-description": "• Wallpaper hook: $1 = wallpaper path, $2 = screen name<br>• Theme toggle hook: $1 = true/false (Dark Mode state)<br>• Screen lock/unlock hooks: $1 = lock/unlock (screen lock state)<br>• Performance mode hooks: No parameters<br>• Session hook: $1 = action (shutdown/reboot)",
|
||||
"info-parameters-description": "• Wallpaper hook: $1 = wallpaper path, $2 = screen name, $3 = theme (dark/light)<br>• Theme toggle hook: $1 = true/false (Dark Mode state)<br>• Screen lock/unlock hooks: $1 = lock/unlock (screen lock state)<br>• Performance mode hooks: No parameters<br>• Session hook: $1 = action (shutdown/reboot)",
|
||||
"info-parameters-label": "Available parameters",
|
||||
"noctalia-started-description": "Command to execute when Noctalia has finished loading.",
|
||||
"noctalia-started-label": "Noctalia started",
|
||||
|
||||
Reference in New Issue
Block a user