diff options
Diffstat (limited to 'scripts/copy_menu.sh')
| -rwxr-xr-x | scripts/copy_menu.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/copy_menu.sh b/scripts/copy_menu.sh index 47843205..6fde8aaa 100755 --- a/scripts/copy_menu.sh +++ b/scripts/copy_menu.sh @@ -6,6 +6,28 @@ # SPDX-License-Identifier: GPL-3.0-or-later # ================================================== +# Set a high-contrast whiptail theme unless the user already provided one +if [ -z "${NEWT_COLORS:-}" ]; then + export NEWT_COLORS=' +root=white,black +border=white,black +window=white,black +shadow=black,black +title=yellow,black +button=black,lightgray +actbutton=black,cyan +compactbutton=white,black +textbox=white,black +acttextbox=white,black +entry=white,black +label=white,black +listbox=white,black +actlistbox=black,cyan +checkbox=white,black +actcheckbox=black,cyan +' +fi + # show_copy_menu # Arguments: # $1 - express_supported flag (1 if available, 0 otherwise) |
