From 274ec4ad120a8e5d868895d01168244786fbcb45 Mon Sep 17 00:00:00 2001 From: will Date: Sun, 28 Nov 2021 23:34:37 +0000 Subject: [PATCH] feat(winreg): fix squash merge --- themes/schema.json | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/themes/schema.json b/themes/schema.json index c1e3a93f..d93f5c7c 100644 --- a/themes/schema.json +++ b/themes/schema.json @@ -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":"" } } }