feat: outsource globals in own file

Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
th33xitus
2022-04-05 12:14:01 +02:00
parent 114684030b
commit 8f3af54251
13 changed files with 69 additions and 66 deletions

View File

@@ -11,11 +11,6 @@
set -e
### global variables
SYSTEMD="/etc/systemd/system"
INI_FILE="${HOME}/.kiauh.ini"
LOGFILE="/tmp/kiauh.log"
#================================================#
#=================== STARTUP ====================#
#================================================#
@@ -35,11 +30,6 @@ function check_euid(){
#================================================#
#============= MESSAGE FORMATTING ===============#
#================================================#
green=$(echo -en "\e[92m")
yellow=$(echo -en "\e[93m")
red=$(echo -en "\e[91m")
cyan=$(echo -en "\e[96m")
white=$(echo -en "\e[39m")
function select_msg() {
echo -e "${white}>>>>>> $1"