I want to add a json config for my setup. But the example config is not enough. I want to set idleMinutes to not autolock. What's the correct value?
I also want example for generatorPresets. Hope you can add examples for this and other complex options as well.
Hi! It's 0.
You can get all settings from keeweb if you execute kw.settings.get() in browser console.
I'm lost. I don't know how to get the right config. This one gives me error if I try to generate a password.
{
"settings": {
"idleMinutes": 0,
"colorfulIcons": true,
"generatorPresets": {
"user": {
"0": {
"ambiguous": true,
"brackets": true,
"digits": true,
"length": 100,
"lower": true,
"name": "Custom1",
"special": true,
"title": "ren - 100 chars",
"upper": true
},
"1": {
"ambiguous": true,
"brackets": true,
"digits": true,
"length": 50,
"lower": true,
"name": "Custom2",
"special": true,
"title": "ren - 50 chars",
"upper": true
},
"2": {
"ambiguous": true,
"brackets": true,
"digits": true,
"length": 32,
"lower": true,
"name": "Custom3",
"special": true,
"title": "ren - 32 chars",
"upper": true
},
"3": {
"ambiguous": true,
"brackets": true,
"digits": true,
"length": 20,
"lower": true,
"name": "Custom4",
"special": true,
"title": "ren - 20 chars",
"upper": true
},
"4": {
"ambiguous": true,
"brackets": true,
"digits": true,
"length": 16,
"lower": true,
"name": "Custom5",
"special": true,
"title": "ren - 16 chars",
"upper": true
},
"5": {
"ambiguous": true,
"digits": true,
"include": "-_!",
"length": 100,
"lower": true,
"name": "Custom6",
"title": "ren - 100 chars (Aa1-_!)",
"upper": true
},
"6": {
"ambiguous": true,
"digits": true,
"include": "-_!",
"length": 50,
"lower": true,
"name": "Custom7",
"title": "ren - 50 chars (Aa1-_!)",
"upper": true
},
"7": {
"ambiguous": true,
"digits": true,
"include": "-_!",
"length": 32,
"lower": true,
"name": "Custom8",
"title": "ren - 32 chars (Aa1-_!)",
"upper": true
},
"8": {
"ambiguous": true,
"digits": true,
"include": "-_!",
"length": 20,
"lower": true,
"name": "Custom9",
"title": "ren - 20 chars (Aa1-_!)",
"upper": true
},
"9": {
"ambiguous": true,
"digits": true,
"include": "-_!",
"length": 16,
"lower": true,
"name": "Custom10",
"title": "ren - 16 chars (Aa1-_!)",
"upper": true
},
"10": {
"ambiguous": true,
"digits": true,
"length": 100,
"lower": true,
"name": "Custom11",
"title": "ren - 100 chars (Aa1)",
"upper": true
},
"11": {
"ambiguous": true,
"digits": true,
"length": 50,
"lower": true,
"name": "Custom12",
"title": "ren - 50 chars (Aa1)",
"upper": true
},
"12": {
"ambiguous": true,
"digits": true,
"length": 32,
"lower": true,
"name": "Custom13",
"title": "ren - 32 chars (Aa1)",
"upper": true
},
"13": {
"ambiguous": true,
"digits": true,
"length": 20,
"lower": true,
"name": "Custom14",
"title": "ren - 20 chars (Aa1)",
"upper": true
},
"14": {
"ambiguous": true,
"digits": true,
"length": 16,
"lower": true,
"name": "Custom15",
"title": "ren - 16 chars (Aa1)",
"upper": true
}
}
},
"dropbox": false,
"gdrive": false,
"onedrive": false
}
}
You must not use :
"generatorPresets": {
"user": {
"0": { … },
"1": { … },
}
}
But instead :
"generatorPresets": {
"user": [
{ … },
{ … },
]
}
No need for the index ("0", "1"), and it is an array ("[" and "]" instead of "{" and "}").
But I agree with you, more exemple will be really helpfull ! :)
Most helpful comment
You must not use :
But instead :
No need for the index ("0", "1"), and it is an array ("[" and "]" instead of "{" and "}").
But I agree with you, more exemple will be really helpfull ! :)