mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-26 03:24:04 -08:00
feat(winreg): fix squash merge
This commit is contained in:
parent
18570c9cd0
commit
274ec4ad12
|
@ -1726,31 +1726,11 @@
|
|||
"description": "The key under he registry path to get (case insensitive). If left blank, will get the value of the (Default) key in the registry_path",
|
||||
"default": ""
|
||||
},
|
||||
"query_fail_behaviour" : {
|
||||
"fallback": {
|
||||
"type":"string",
|
||||
"title": "Query failure behaviour",
|
||||
"description": "What to do when the registry query fails",
|
||||
"default":"hide_segment",
|
||||
"enum": ["hide_segment", "display_fallback_string"]
|
||||
},
|
||||
"query_fail_fallback_string": {
|
||||
"type": "string",
|
||||
"title": "Query Failure fallback string",
|
||||
"description": "In the event of a failure to get the requested key, this string will be displayed in the segment if 'query_fail_behaviour' is set to 'display_fallback_string'",
|
||||
"default": ""
|
||||
},
|
||||
"query_fail_behaviour" : {
|
||||
"type":"string",
|
||||
"title": "Query failure behaviour",
|
||||
"description": "What to do when the registry query fails",
|
||||
"default":"hide_segment",
|
||||
"enum": ["hide_segment", "display_fallback_string", "show_debug_info"]
|
||||
},
|
||||
"query_fail_fallback_string": {
|
||||
"type": "string",
|
||||
"title": "Query Failure fallback string",
|
||||
"description": "In the event of a failure to get the requested key, this string will be displayed in the segment if 'query_fail_behaviour' is set to 'display_fallback_string'",
|
||||
"default": ""
|
||||
"title":"Fallback value",
|
||||
"description":"Value to display if registry value cannot be retrieved",
|
||||
"default":""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue