From 0047a536e9c7bc4e517b395e1e5287d3cd005438 Mon Sep 17 00:00:00 2001 From: Lulzette Date: Thu, 13 Jan 2022 04:49:57 +0000 Subject: [PATCH] colored banner --- src/basic.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/basic.sh b/src/basic.sh index ee06245..cc85098 100644 --- a/src/basic.sh +++ b/src/basic.sh @@ -1,18 +1,21 @@ #!/bin/bash +trap 'echo " Vyhody cherez menu"' INT + +TEXT_COLOR_GOOD="\033[92m" +TEXT_COLOR_BAD="\033[91m" +TEXT_COLOR_OFF="\033[0m" + echo -e " +${TEXT_COLOR_GOOD} __ __ __ / /__ __ / /_ ___ / /___ ___ _____ / __/ | /| / / ______ / __ \/ _ \/ / __ \/ _ \/ ___/ / /_ | |/ |/ / /_____/ / / / / __/ / /_/ / __/ / \__/ |__/|__/ /_/ /_/\___/_/ .___/\___/_/ /_/ +${TEXT_COLOR_OFF} " -trap 'echo " Vyhody cherez menu"' INT -# text color -TEXT_COLOR_GOOD="\033[92m" -TEXT_COLOR_BAD="\033[91m" -TEXT_COLOR_OFF="\033[0m" harakiri() { printf "${TEXT_COLOR_BAD}Committing *roskomnadzor*...${TEXT_COLOR_OFF}\n"