diff --git a/departure.sh b/departure.sh index 40f4397..018fb9e 100755 --- a/departure.sh +++ b/departure.sh @@ -17,7 +17,7 @@ LOGO_L[ 8]="\\t\\t██▒▒██▒▒▒▒▒▒▒▒██▒▒██ LOGO_L[ 9]="\\t\\t██▒▒████████████████████████████████████████▒▒██" LOGO_L[10]="\\t\\t██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██" LOGO_L[11]="\\t\\t████████████████████████████████████████████████" -LOGO_L[12]="\\t\\t C H A O S C H E M N I T Z . D E \\n" +LOGO_L[12]="\\t\\t""\e[1m"" C H A O S C H E M N I T Z . D E ""\e[0m""\\n" LOGO_S[0]="\\t\\t█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ " LOGO_S[1]="\\t\\t█ █████▀█▀██████▀█▀███ █ " @@ -212,6 +212,24 @@ draw_large_logo() done } +print_chch_propaganda() +{ + clear + draw_logo_time LOGO_AND_TIME $(($(date +%s)+$SYSTEM_TIME_DELTA)) + echo -e "$LOGO_AND_TIME" + echo -e " +\t\t┌──────────────────────────────────────────────────────────┐ +\t\t│""\e[7m"" Der Chaostreff Chemnitz (ChCh) ist ein lockeres Treffen ""\e[27m""│ +\t\t│""\e[7m"" von technikbegeisterten und kreativen Menschen. Als ""\e[27m""│ +\t\t│""\e[7m"" Chaostreff fühlen wir uns dem Chaos Computer Club (CCC) ""\e[27m""│ +\t\t│""\e[7m"" nahe. ""\e[27m""│ +\t\t│""\e[7m"" ""\e[27m""│ +\t\t│""\e[7m"" Besucht uns online oder Montags im zweiten Stock. ""\e[27m""│ +\t\t└──────────────────────────────────────────────────────────┘ +\t\t""\e[1m"" C H A O S C H E M N I T Z . D E ""\e[0m" + sleep 10 +} + LOGO_LINES_POSITION=0 STATION_NAME=() print_cvag_schedule() @@ -272,7 +290,11 @@ ROUND_COUNT=0 while true; do [ $ROUND_COUNT -eq 0 -a ! "$SKIP_UPDATE" = "skip_initial_update" ] && update_and_restart SKIP_UPDATE="" - print_cvag_schedule + if [ $(($ROUND_COUNT % 20)) -eq 0 ]; then + print_chch_propaganda + else + print_cvag_schedule + fi ROUND_COUNT=$((($ROUND_COUNT + 1) % 60)) sleep 10 done