« Whiptail : Gestion des couleurs » : différence entre les versions
De www.yakakliker.org
(Page créée avec « === Le code === <syntaxhighlight lang="bash"> #!/bin/sh NEWT_COLORS=' window=,red border=white,red textbox=white,red button=black,white ' \ whiptail --msgbox "passwords don't match" 0 0 </syntaxhighlight> === Les couleurs === <syntaxhighlight lang="bash"> color0 or black color1 or red color2 or green color3 or brown color4 or blue color5 or magenta color6 or cyan color7 or lightgray color8 or gray color9 or brightred color10 or brightgreen col... ») |
Aucun résumé des modifications |
||
(Une version intermédiaire par le même utilisateur non affichée) | |||
Ligne 61 : | Ligne 61 : | ||
=== Liens === | === Liens === | ||
https://askubuntu.com/questions/776831/whiptail-change-background-color-dynamically-from-magenta | https://askubuntu.com/questions/776831/whiptail-change-background-color-dynamically-from-magenta | ||
[[Catégorie:Whiptail]] | |||
[[Catégorie:Scripts]] | |||
<html> | |||
<a href="https://www.compteurdevisite.com" title="compteur web gratuit sans pub"><img src="https://counter6.optistats.ovh/private/compteurdevisite.php?c=b4epghealnwlf7wuq7gn3ygll9aywrfx" border="0" title="compteur web gratuit sans pub" alt="compteur web gratuit sans pub"></a> | |||
</html> | |||
<html> | |||
<script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script> | |||
<script> | |||
kofiWidgetOverlay.draw('yakakliker', { | |||
'type': 'floating-chat', | |||
'floating-chat.donateButton.text': 'Café', | |||
'floating-chat.donateButton.background-color': '#00b9fe', | |||
'floating-chat.donateButton.text-color': '#fff' | |||
}); | |||
</script> | |||
</html> |
Dernière version du 1 juillet 2025 à 14:27
Le code
#!/bin/sh
NEWT_COLORS='
window=,red
border=white,red
textbox=white,red
button=black,white
' \
whiptail --msgbox "passwords don't match" 0 0
Les couleurs
color0 or black
color1 or red
color2 or green
color3 or brown
color4 or blue
color5 or magenta
color6 or cyan
color7 or lightgray
color8 or gray
color9 or brightred
color10 or brightgreen
color11 or yellow
color12 or brightblue
color13 or brightmagenta
color14 or brightcyan
color15 or white
Les différents éléments modifiables
root root fg, bg
border border fg, bg
window window fg, bg
shadow shadow fg, bg
title title fg, bg
button button fg, bg
actbutton active button fg, bg
checkbox checkbox fg, bg
actcheckbox active checkbox fg, bg
entry entry box fg, bg
label label fg, bg
listbox listbox fg, bg
actlistbox active listbox fg, bg
textbox textbox fg, bg
acttextbox active textbox fg, bg
helpline help line
roottext root text
emptyscale scale full
fullscale scale empty
disentry disabled entry fg, bg
compactbutton compact button fg, bg
actsellistbox active & sel listbox
sellistbox selected listbox
Liens
https://askubuntu.com/questions/776831/whiptail-change-background-color-dynamically-from-magenta