From 20e80347c9beb58403bcb6f76c26fafbb40d73b1 Mon Sep 17 00:00:00 2001 From: Joonas Viskari Date: Thu, 14 Jun 2018 13:41:59 +0300 Subject: [PATCH] colors example --- colors.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 colors.sh diff --git a/colors.sh b/colors.sh new file mode 100755 index 0000000..bf83cc5 --- /dev/null +++ b/colors.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +export NEWT_COLORS=' +window=,red +border=white,red +textbox=white,red +button=black,white +' + + + +if (whiptail --title "Test Yes/No Box" --yesno "Choose between Yes and No." 10 60) then + echo "You chose Yes. Exit status was $?." +else + echo "You chose No. Exit status was $?." +fi -- 2.25.1