projects
/
whiptailexamples
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
readme and license
[whiptailexamples/.git]
/
colors.sh
1
#!/bin/bash
2
3
export NEWT_COLORS='
4
window=,red
5
border=white,red
6
textbox=white,red
7
button=black,white
8
'
9
10
11
12
if (whiptail --title "Test Yes/No Box" --yesno "Choose between Yes and No." 10 60) then
13
echo "You chose Yes. Exit status was $?."
14
else
15
echo "You chose No. Exit status was $?."
16
fi