From 9b996ea10b5c6d081c4a40f9b203e5deacbd871f Mon Sep 17 00:00:00 2001 From: aggstam Date: Mon, 5 Aug 2024 13:10:06 +0300 Subject: [PATCH] feat(display): added symbol dependency and prefixed the labels in the doc --- app/src/display/widgets/Kconfig | 1 + docs/docs/config/displays.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/display/widgets/Kconfig b/app/src/display/widgets/Kconfig index cec589b9..1e1a0333 100644 --- a/app/src/display/widgets/Kconfig +++ b/app/src/display/widgets/Kconfig @@ -43,5 +43,6 @@ config ZMK_WIDGET_LABEL config ZMK_WIDGET_LABEL_TEXT string "Custom message to display" default "ZMK" + depends on ZMK_WIDGET_LABEL endmenu diff --git a/docs/docs/config/displays.md b/docs/docs/config/displays.md index b0bce013..f6c1a0f6 100644 --- a/docs/docs/config/displays.md +++ b/docs/docs/config/displays.md @@ -23,8 +23,8 @@ Definition files: | `CONFIG_ZMK_WIDGET_BATTERY_STATUS_SHOW_PERCENTAGE` | bool | If battery widget is enabled, show percentage instead of icons | n | | `CONFIG_ZMK_WIDGET_OUTPUT_STATUS` | bool | Enable a widget to show the current output (USB/BLE) | y | | `CONFIG_ZMK_WIDGET_WPM_STATUS` | bool | Enable a widget to show words per minute | n | -| `ZMK_WIDGET_LABEL` | bool | Enable a widget to display custom messages | n | -| `ZMK_WIDGET_LABEL_TEXT` | string | Custom message to display | ZMK | +| `CONFIG_ZMK_WIDGET_LABEL` | bool | Enable a widget to display custom messages | n | +| `CONFIG_ZMK_WIDGET_LABEL_TEXT` | string | Custom message to display | ZMK | Note that `CONFIG_ZMK_DISPLAY_INVERT` setting might not work as expected with custom status screens that utilize images.