54 lines
1.1 KiB
JSON
54 lines
1.1 KiB
JSON
{
|
|
"id": "7b7617bd-57cc-468e-9c91-40c4ec2bcb3d",
|
|
"snapshot": "gimp",
|
|
"instruction": "Set the minimum number of undo steps to 100.",
|
|
"source": "https://www.youtube.com/watch?v=G_PjQAy0iiU",
|
|
"config": [
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"gimp"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"gimp"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"python3",
|
|
"-c",
|
|
"import pyautogui; pyautogui.hotkey([\"ctrl\", \"q\"]);"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"parameters": {
|
|
"seconds": 0.5
|
|
}
|
|
}
|
|
],
|
|
"func": "check_config_status",
|
|
"expected": {
|
|
"type": "rule",
|
|
"rules": {
|
|
"type:": "key-value",
|
|
"key": "undo-levels",
|
|
"value": "100"
|
|
}
|
|
},
|
|
"result": {
|
|
"type": "gimp_config_file",
|
|
"file_name": "gimprc",
|
|
"dest": "gimprc"
|
|
}
|
|
}
|
|
} |