function f-fun () { clear echo fig-col figlet "inx"" ""fun" echo head-col echo "Start a screensaver" info-col echo echo "1: Start the cmatrix screensaver (any key to stop)" echo "2: Start a slideshow ( q to stop)" echo head-col echo "Play a game" info-col echo echo "g: Play the \"Greed\" game" echo "k: Play \"Robot Finds Kitten\"" echo head-col echo "Just because..." echo info-col echo "f: Flip colours" #echo "p: Play with colour themes by name" echo head-col echo "Hit to return to the main menu" # Print tty number right edge of terminal f-ttynum read -s -n 1 case $REPLY in 1) f-sup cmatrix -s f-fun ;; 2) f-sup fbi -a -noverbose -t 2 /usr/share/example-content/pictures/* f-fun ;; g) f-sup greed sleep 4 f-fun ;; k) f-sup robotfindskitten echo "Hit ..." read f-fun ;; m) f-menu ;; f) export CALL=fun f-switch ;; *) f-menu ;; esac }