diff --git a/README.html b/README.html index 1913b4b..49ceffc 100644 --- a/README.html +++ b/README.html @@ -40,7 +40,8 @@

A. Termux

-
export PATH="$PATH:$HOME/.local/bin"; curl -fSsL https://github.com/luisadha/alrc-termux/raw/branch/main/install.sh | bash
+
export PATH="$PATH:$HOME/.local/bin";
+. <(curl -L s.id/24adK )
diff --git a/alrc-termux.sh b/alrc-termux.sh index 2fcf508..7ecf06f 100644 --- a/alrc-termux.sh +++ b/alrc-termux.sh @@ -18,9 +18,9 @@ # set -xv -export ALRC_VERSION="4.3.0" +export ALRC_VERSION="4.3.2" -ALRC_UDATE='17/03/24 23:35:11 WIB' +ALRC_UDATE='25/03/24 00:38:11 WIB' # export ALRC_HOME="$(cd -P -- "$(dirname -- "$(readlink "${BASH_SOURCE[0]}")")" && pwd)" export ALRC_HOME="$HOME/.local/share/alrc-termux" @@ -35,6 +35,7 @@ export ALRC_SCRIPT="$ALRC_HOME/$ALRC_SOURCE" #chmod +x $ALRC_HOME/lib/* +source $ALRC_HOME/lib/ext_command_helper.sh source $ALRC_HOME/lib/plugin_handler.sh source $ALRC_HOME/lib/check_dependency.sh @@ -226,19 +227,16 @@ mno=$(echo "${icon} songs >> $(al_fetchSongInfo)" | wc -L); onm=$(echo "$COLUMNS ENV="${ENV:-"/system/etc/mkshrc"}" test $ENV; if [ $? -eq 0 ]; then - - - - : "AKU DISINI" - -echo -e " -Hello $(basename $SHELL) -Welcome to: ${my_terminal:-"Termux "}" +#echo -e " +#Hello $(basename $SHELL) +#Welcome to: ${my_terminal:-"Termux "}" if [ "$ALRC_USE_ALFETCH" == "true" ]; then +source "$ALRC_HOME/lib/alfetch.sh" + - source $ALRC_HOME/lib/alfetch.sh + else echo -e "$(printf %"$COLUMNS"s |tr " " "-") | os >> $(uname -so)$(printf %"$cba"s "$icon" ) @@ -254,13 +252,7 @@ echo -e "$(printf %"$COLUMNS"s |tr " " "-") | bash source >> ${ALRC_SOURCE}$(printf %"$lkj"s "$icon" ) $(printf %"$COLUMNS"s |tr " " "-") "; fi - - - -: place customisations above this line - -echo "alrc: al is a $(type -t al), More informations? you can type \`whatisal'" -echo +#echo "alrc: al is a $(type -t al), More informations? you can type \`whatisal'" else echo "Your device isn't Android" return 1 @@ -356,10 +348,10 @@ elif [ "$opt" == "sar" ]; then esac elif [ "$opt" == "cpu_arch" ]; then #bug 2722_234b {not consist result } - echo "this options require internet connection!" + # echo "this options require internet connection!" echo "$OPTARG" echo - curl -sS "https://en.m.wikipedia.org/wiki/ARM_architecture_family?action=raw" | grep -Eoi "name = ARM 64/32-bit" | sed 's/ //g' | cut -c"6-" | sed 's/\/32-bit//g'; + #curl -sS "https://en.m.wikipedia.org/wiki/ARM_architecture_family?action=raw" | grep -Eoi "name = ARM 64/32-bit" | sed 's/ //g' | cut -c"6-" | sed 's/\/32-bit//g'; export al_"$opt"="$(curl $_)" elif [ "$opt" == "vndk" ]; then @@ -374,6 +366,7 @@ fi } + function whatisal() { al_runmanual @@ -406,7 +399,22 @@ usage#2: whatisal print this help message and return # ----- ALRC MISC ------- # # -------------------------------- # source $0 > /dev/null 2>&1 && until false; do sleep 1; done -al_set_window "successfully script called via source"; al; +al_set_window "successfully script called via source"; + +case "$ALRC_MOTD_USE_BOXES" in +"") +al; + ;; +"random") + boxes -s ${COLUMNS}x$(al | wc -l) -d $(al_shuf_boxes_design) <(al) + + ;; +*) +boxes -s ${COLUMNS}x$(al | wc -l) -d $ALRC_MOTD_USE_BOXES <(al) + ;; + esac + + # --------------------------------- # # ----- BASHRC ---------- # @@ -440,7 +448,7 @@ alias brandomusic+set_autoremove="sed 's/\ brandomusic-cache-clear\.sh/\#\ brand # alias al # alias al_activate='source <(~/.local/bin/alrc env)'; -alias al_login='source $ALRC_HOME/$ALRC_SOURCE; set -o history'; + alias alcatalias='alcat | grep -e "^alias"'; alias aligrep='alias | grep'; @@ -472,6 +480,7 @@ alias lt='exa --icons --tree' alias lta='exa --icons --tree -lgha' alias lol='echo 'your\ mom'' alias neodistro='neofetch --ascii_distro' +alias fix_lolcrab_gradient='fold -w$COLUMNS | lolcrab -ag' alias check_jpgfiles='cd $OLDPWD; cd /sdcard; printf "%s %s %s %s\n" "$(find . ! -readable -prune -o -name "*.jpg" -type f -print | wc -l)" "totals .jpg" "files on /sdcard"; cd - &>/dev/null;' alias check_emptyfolder='cd $OLDPWD; cd /sdcard; printf "%s %s %s %s\n" "$(find . ! -readable -prune -o -type d -empty -print | wc -l)" "totals empty " "folder on /sdcard"; cd - &>/dev/null;' alias check_emptyfiles='cd $OLDPWD; cd /sdcard; printf "%s %s %s %s\n" "$(find . ! -readable -prune -o -type f -empty -print | wc -l)" "totals empty " "files on /sdcard"; cd - &>/dev/null;' @@ -492,6 +501,7 @@ alias proot-dinstalled='cd /data/data/com.termux/files/usr/var/lib/proot-distro/ alias proot-dlogin='proot-distro login ' # alias al_refresh_profile='source /data/data/com.termux/files/home/.bash_profile' #for refresh profile alias vendor='getprop ro.product.manufacturer' +alias mfiles='am start -n 'me.zhanghai.android.files/.filelist.FileListActivity' --user 0 &> /dev/null' # add periode 28-29 March alias loghis='echo 'login' >> ~/.bash_history; login' # convert loghis to login in body .bash_history @@ -911,15 +921,6 @@ else fi } declare -f -x alvar -# 11 Maret 2024 -function lolcrab_gradient_shuf() { -# by luisadha -# depenName=lolcrab -# depenVersion=0.3.1 -local LOLCRAB_GRADIENT_LIST=("cividis" "cool" "cubehelix" "fruits" "inferno" "magma" "plasma" "rainbow" "rd-yl-gn" "sinebow" "spectral" "turbo" "viridis" "warm") -for i in ${LOLCRAB_GRADIENT_LIST[@]}; do echo "$i"; done | fold -s | shuf -n1; -} -declare -f -x lolcrab_gradient_shuf # fkill - kill processes - list only the ones you can kill. Modified the earlier script. function fkill() { @@ -937,7 +938,33 @@ function fkill() { } declare -f -x fkill - +function cd() { + # interactive cd by @mgild + if [[ "$#" != 0 ]]; then + builtin cd "$@"; + return + fi + while true; do + local lsd=$(echo ".." && command ls -p | grep '/$' | sed 's;/$;;') + local dir="$(printf '%s\n' "${lsd[@]}" | + fzf --reverse --preview ' + __cd_nxt="$(echo {})"; + __cd_path="$(echo $(pwd)/${__cd_nxt} | sed "s;//;/;")"; + echo $__cd_path; + echo; + command ls -p --color=always "${__cd_path}"; + ')" + [[ ${#dir} != 0 ]] || return 0 + builtin cd "$dir" &> /dev/null + done +} +declare -f -x cd +function generate_abstraction() +{ +file="$1" +timg "$file" | lolcrab -a +} +declare -f -x generate_abstraction generate_addon_files() { set +o noclobber export PATH="${PATH}:$HOME/.local/bin" @@ -982,22 +1009,10 @@ chmod +x $HOME/.local/bin/$CHECKIP_FILES } generate_addon_files; -#if ! source ctypes.sh; then -# echo "please install ctypes.sh to continue" - #fi - -# source ctypes.sh -# if any error of these, fix with alias fixctypes-source -# bash: declare: NULL: readonly variable - # bash: declare: -# STDIN_FILENO: readonly variable bash: declar - # e: -# TDOUT_FILENO: readonly variable bash: declare - # : -# STDERR_FILENO: readonly variable -# -# -#unset p set +o history + + + + diff --git a/cache/answer.txt b/cache/answer.txt index 975fbec..8b13789 100644 --- a/cache/answer.txt +++ b/cache/answer.txt @@ -1 +1 @@ -y + diff --git a/cache/box-designs-templete.txt b/cache/box-designs-templete.txt new file mode 100644 index 0000000..dae6926 --- /dev/null +++ b/cache/box-designs-templete.txt @@ -0,0 +1,1384 @@ + + + + + + List of Box Designs - boxes + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+
+

Box Designs

+ +
+
+
+ +
+
+ +
+
+
+ + + +
+ + + 72 matching designs +
+ + + + + + +

ada-box (lua-box, sql-box)

+

+ + +

+
---------------
+--           --
+--           --
+---------------
+

Artwork is public domain, coded for boxes by Neil Bird

+ + + + + +

ada-cmt (lua-cmt, sql-cmt)

+

+ + +

+
--
+-- regular Ada
+-- comments
+--
+

Artwork is public domain, coded for boxes by Neil Bird

+ +

ansi

+

+ + +

+
┌──────────────────────┐
+│                      │
+│                      │
+│                      │
+│                      │
+│                      │
+│                      │
+│                      │
+└──────────────────────┘
+

Artwork is public domain, coded for boxes by chorpler

+ +

ansi-dashed

+

+ + +

+
┌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┐
+┊                      ┊
+┊                      ┊
+┊                      ┊
+┊                      ┊
+┊                      ┊
+┊                      ┊
+┊                      ┊
+└╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┘
+

Artwork is public domain, coded for boxes by chorpler

+ +

ansi-double

+

+ + +

+
╔══════════════════════╗
+║                      ║
+║                      ║
+║                      ║
+║                      ║
+║                      ║
+║                      ║
+║                      ║
+╚══════════════════════╝
+

Artwork is public domain, coded for boxes by chorpler

+ +

ansi-heavy

+

+ + +

+
┏━━━━━━━━━━━━━━━━━━━━━━┓
+┃                      ┃
+┃                      ┃
+┃                      ┃
+┃                      ┃
+┃                      ┃
+┃                      ┃
+┃                      ┃
+┗━━━━━━━━━━━━━━━━━━━━━━┛
+

Artwork is public domain, coded for boxes by chorpler

+ +

ansi-heavy-dashed

+

+ + +

+
┏╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┓
+┋                      ┋
+┋                      ┋
+┋                      ┋
+┋                      ┋
+┋                      ┋
+┋                      ┋
+┋                      ┋
+┗╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┛
+

Artwork is public domain, coded for boxes by chorpler

+ +

ansi-rounded

+

+ + +

+
╭──────────────────────╮
+│                      │
+│                      │
+│                      │
+│                      │
+│                      │
+│                      │
+│                      │
+╰──────────────────────╯
+

Artwork is public domain, coded for boxes by chorpler

+ +

ansi-rounded-dashed

+

+ + +

+
╭╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╮
+┊                      ┊
+┊                      ┊
+┊                      ┊
+┊                      ┊
+┊                      ┊
+┊                      ┊
+┊                      ┊
+╰╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╯
+

Artwork is public domain, coded for boxes by chorpler

+ +

bear

+

+ + + +

+
                     ,---.           ,---.
+                    / /"`.\.--"""--./,'"\ \
+                    \ \    _       _    / /
+                     `./  / __   __ \  \,'
+                      /    /_O)_(_O\    \
+                      |  .-'  ___  `-.  |
+                   .--|       \_/       |--.
+                 ,'    \   \   |   /   /    `.
+                /       `.  `--^--'  ,'       \
+             .-"""""-.    `--.___.--'     .-"""""-.
+.-----------/         \------------------/         \--------------.
+| .---------\         /------------------\         /------------. |
+| |          `-`--`--'                    `--'--'-'             | |
+| |                                                             | |
+| |                                                             | |
+| |                                                             | |
+| |                                                             | |
+| |                                                             | |
+| |                                                             | |
+| |                                                             | |
+| |                                                             | |
+| |_____________________________________________________________| |
+|_________________________________________________________________|
+                   )__________|__|__________(
+                  |            ||            |
+                  |____________||____________|
+                    ),-----.(      ),-----.(  hjw
+                  ,'   ==.   \    /  .==    `.
+                 /            )  (            \
+                 `==========='    `==========='
+

Artwork by Hayley Jane Wakenshaw

+ +

boxquote

+

+ +

+
,----[ mp3-wav ]
+| #!/bin/sh
+| # konvertiert im aktuellen Verzeichnis .mp3 in .wav
+| for i in *.mp3; do
+|   mpg123 -v  --stereo --rate 44100 -w "`basename "$i" .mp3`".wav "$i"
+| done
+`----
+

Artwork and boxes config by Christian Molls

+ +

boy

+

+ + +

+
                .-"""-.
+               / .===. \
+               \/ 6 6 \/
+               ( \___/ )
+  _________ooo__\_____/______________
+ /                                   \
+|   joan stark   spunk1111@juno.com   |
+|     VISIT MY ASCII ART GALLERY:     |
+| http://www.geocities.com/SoHo/7373/ |
+ \_______________________ooo_________/
+                |  |  |
+                |_ | _|
+                |  |  |
+                |__|__|  jgs
+                /-'Y'-\
+               (__/ \__)
+

Artwork by Joan G. Stark

+ +

c

+

+ + +

+
/*************/
+/*           */
+/*           */
+/*************/
+

Artwork is public domain

+ +

c-cmt

+

+ + +

+
/*                               */
+/*     regular C language        */
+/*     comments                  */
+/*                               */
+

Artwork is public domain

+ +

c-cmt2

+

+ + +

+
/*
+ *  regular C language
+ *  comments
+ */
+

Artwork is public domain

+ +

caml

+

+ + +

+
(*************)
+(*           *)
+(*           *)
+(*************)
+

Artwork and boxes config by Michael Tiernan

+ +

capgirl

+

+ + +

+
                .-"```"-.
+               /_______; \
+              (_________)\|
+              / / a a \ \(_)
+             / ( \___/ ) \
+  ________ooo\__\_____/__/___________
+ /                                   \
+|   joan stark   spunk1111@juno.com   |
+|     VISIT MY ASCII ART GALLERY:     |
+|      http://www.ascii-art.com       |
+ \________________________ooo________/
+             /           \
+            /:.:.:.:.:.:.:\
+                |  |  |
+                \==|==/  jgs
+                /-'Y'-\
+               (__/ \__)
+

Artwork by Joan G. Stark

+ +

cat

+

+ + +

+
              /\             /\
+             |`\\_,--="=--,_//`|
+             \ ."  :'. .':  ". /
+            ==)  _ :  '  : _  (==
+              |>/O\   _   /O\<|
+              | \-"~` _ `~"-/ |   jgs
+             >|`===. \_/ .===`|<
+       .-"-.   \==='  |  '===/   .-"-.
+.-----{'. '`}---\,  .-'-.  ,/---{.'. '}-----.
+ )    `"---"`     `~-===-~`     `"---"`    (
+(                 joan  stark               )
+ )           < spunk1111@juno.com >        (
+(              ASCII ART GALLERY:           )
+ ) < http://www.geocities.com/SoHo/7373/ > (
+'-------------------------------------------'
+

Artwork by Joan G. Stark

+ +

cc

+

+ + +

+
/****************
+ *              *
+ *              *
+ ****************/
+

Artwork is public domain, coded for boxes by Bas van Gils

+ +

columns

+

+ +

+
 __^__                 __^__
+( ___ )---------------( ___ )
+ | / |                 | \ |
+ | / |                 | \ |
+ | / |                 | \ |
+ |___|                 |___|
+(_____)---------------(_____)
+

Artwork by (unknown artist)

+ +

cowsay

+

+ +

+
 _____________________________
+/                             \
+|  Boxes can have the cow too |
+\                             /
+ -----------------------------
+    \   ^__^
+     \  (oo)\_______
+        (__)\       )\/\
+            ||----w |
+            ||     ||
+

Artwork by Tony Monroe, coded for boxes by David Yang

+ +

critical

+

+ + + +

+
▄▄ CRITICAL ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
+                                               
+  Coolant levels below minimum.                
+  Disengage main drive and stop for repairs.   
+                                               
+▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

Artwork and boxes config by Thomas Jensen

+ +

diamonds

+

+ +

+
       /\          /\          /\          /\
+    /\//\\/\    /\//\\/\    /\//\\/\    /\//\\/\
+ /\//\\\///\\/\//\\\///\\/\//\\\///\\/\//\\\///\\/\
+//\\\//\/\\///\\\//\/\\///\\\//\/\\///\\\//\/\\///\\
+\\//\/                                        \/\\//
+ \/                                              \/
+ /\                                              /\
+//\\      joan stark   spunk1111@juno.com       //\\
+\\//    http://www.geocities.com/SoHo/7373/     \\//
+ \/                                              \/
+ /\                                              /\
+//\\/\                                        /\//\\
+\\///\\/\//\\\///\\/\//\\\///\\/\//\\\///\\/\//\\\//
+ \/\\///\\\//\/\\///\\\//\/\\///\\\//\/\\///\\\//\/
+    \/\\//\/    \/\\//\/    \/\\//\/    \/\\//\/
+       \/          \/          \/     jgs  \/
+

Artwork by Joan G. Stark

+ +

dog

+

+ + +

+
            __   _,--="=--,_   __
+           /  \."    .-.    "./  \
+          /  ,/  _   : :   _  \/` \
+          \  `| /o\  :_:  /o\ |\__/
+           `-'| :="~` _ `~"=: |
+              \`     (_)     `/ jgs
+       .-"-.   \      |      /   .-"-.
+.-----{     }--|  /,.-'-.,\  |--{     }-----.
+ )    (_)_)_)  \_/`~-===-~`\_/  (_(_(_)    (
+(                joan  stark                )
+ )          < spunk1111@juno.com >         (
+(             ASCII ART GALLERY:            )
+ ) < http://www.geocities.com/SoHo/7373/ > (
+'-------------------------------------------'
+

Artwork by Joan G. Stark

+ +

dragon

+

+

+
       ,                                                     .  ,
+    ._/),                                                   .(\/),
+    ii// )/)     ,-=-.       ,-=-.       ,-=-.       ,-=-.     (\/|/)
+,^=-9 ,//) )=-="'     '"=-="'     '"=-="'     '"=-="'     '"=-="/ }/)
+ ""_,),,/ "      ,-=-.       ,-=-.       ,-=-.       ,-=-.      ,/`~
+  """ )))\))=-="'     '"=-="'     '"=-="'     '"=-="'     '"=-="
+           <<  <<                             <<   <<
+         ((( >((( >                         ((( > ((( >
+                          HERE BE DRAGONS
+          ,                                                     .  ,
+       ._/),                                                   .(\/),
+    ii// )/)     ,-=-.       ,-=-.       ,-=-.       ,-=-.     (\/|/)
+,^=-9 ,//) )=-="'     '"=-="'     '"=-="'     '"=-="'     '"=-="/ }/)
+ ""_,),,/ "      ,-=-.       ,-=-.       ,-=-.       ,-=-.      ,/`~
+  """ )))\))=-="'     '"=-="'     '"=-="'     '"=-="'     '"=-="
+           <<  <<                             <<   <<
+ gpyy    ((( >((( >                         ((( > ((( >
+

Artwork by Glory Py Yip (Glory Moon)

+ +

f90-box

+

+ + +

+
!!!!!!!!!!!!!
+!           !
+!           !
+!!!!!!!!!!!!!
+

Artwork is public domain, coded for boxes by Matt Thompson

+ +

f90-cmt

+

+ + +

+
!
+!  regular comments used in Fortran 90+
+!
+

Artwork is public domain, coded for boxes by Matt Thompson

+ +

face

+

+ + +

+
 .--(0)    (0)--.
+(       \/       )
+(     \____/     )
+(                )
+( face face face )
+( face face face )
+ '--------------'
+

Artwork and boxes config by Dmitry Bolshakov

+ +

fence

+

+ +

+
 /\ /\ /\ /\ /\
+|__|__|__|__|__|
+|  |  |  |  |  |
+|  | fence  |  |
+|__|__|__|__|__|
+|__|__|__|__|__|
+

Artwork and boxes config by Dmitry Bolshakov

+ +

girl

+

+ + +

+
                .-"""-.
+               / .===. \
+              / / a a \ \
+             / ( \___/ ) \
+  ________ooo\__\_____/__/___________
+ /                                   \
+|   joan stark   spunk1111@juno.com   |
+|     VISIT MY ASCII ART GALLERY:     |
+| http://www.geocities.com/SoHo/7373/ |
+ \________________________ooo________/
+             /           \
+            /:.:.:.:.:.:.:\
+                |  |  |
+                \==|==/  jgs
+                /-'Y'-\
+               (__/ \__)
+

Artwork by Joan G. Stark

+ +

headline

+

+ +

+
/*************/
+/*           */
+/*           */
+/*************/
+

Artwork and boxes config by Thomas Jensen

+ +

html

+

+ + +

+
<!-- - - - - - - - - - - -->
+<!--                     -->
+<!--                     -->
+<!--                     -->
+<!-- - - - - - - - - - - -->
+

Artwork is public domain

+ +

html-cmt

+

+ + +

+
<!--                                     -->
+<!-- regular comments used in HTML files -->
+<!--                                     -->
+

Artwork is public domain

+ +

ian_jones

+

+ + +

+
                            \\\///
+                           / _  _ \
+                         (| (.)(.) |)
+.----------------------.OOOo--()--oOOO.-----------------.
+|                                                       |
+| Your Text Here Your Text Here Your Text Here Your Tex |
+| Your Text Here Your Text Here Your Text Here Your Tex |
+| Your Text Here Your Text Here Your Text Here Your Tex |
+| Your Text Here Your Text Here Your Text Here Your Tex |
+|                                                       |
+'--------------------.oooO------------------------------'
+                      (   )   Oooo.
+                       \ (    (   )
+                        \_)    ) /
+                              (_/
+

Artwork by (unknown artist), coded for boxes by Karl E. Jorgensen

+ +

important

+

+ +

+
 /\ !!!!!!!!!!! /\
+|! |           |! |
+|! | important |! |
+|__|           |__|
+(__)!!!!!!!!!!!(__)
+

Artwork and boxes config by Dmitry Bolshakov

+ +

important2

+

+ +

+
 /\  /\ !!!!!!!!!!!! /\  /\
+|! ||! |!!!!!!!!!!!!|! ||! |
+|! ||! |            |! ||! |
+|! ||! | important2 |! ||! |
+|! ||! |            |! ||! |
+|__||__|!!!!!!!!!!!!|__||__|
+(__)(__)!!!!!!!!!!!!(__)(__)
+

Artwork and boxes config by Dmitry Bolshakov

+ +

important3

+

+ +

+
 /\  /\  /\ !!!!!!!!!!!! /\  /\  /\
+|! ||! ||! |!!!!!!!!!!!!|! ||! ||! |
+|! ||! ||! |!!!!!!!!!!!!|! ||! ||! |
+|! ||! ||! |            |! ||! ||! |
+|! ||! ||! | important3 |! ||! ||! |
+|! ||! ||! |            |! ||! ||! |
+|! ||! ||! |!!!!!!!!!!!!|! ||! ||! |
+|__||__||__|!!!!!!!!!!!!|__||__||__|
+(__)(__)(__)!!!!!!!!!!!!(__)(__)(__)
+

Artwork and boxes config by Dmitry Bolshakov

+ +

info

+

+ + + +

+
▄▄ INFO ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
+                                               
+  This is an informational message.            
+  Don't worry about it.                        
+                                               
+▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

Artwork and boxes config by Thomas Jensen

+ +

java-cmt

+

+ + +

+
//
+// regular Java
+// comments
+//
+

Artwork is public domain

+ +

javadoc

+

+ + +

+
/**
+ *  Javadoc Comments
+ *
+ */
+

Artwork is public domain, coded for boxes by Ted Berg

+ +

jstone

+

+ + +

+
/*----------------+
+ | toast is yummy |
+ +----------------*/
+

Artwork by schallee_@_darkmist.net, coded for boxes by Ed Schaller

+ +

lisp-cmt

+

+ + +

+
;;
+;;  regular comments used in Lisp
+;;
+

Artwork is public domain, coded for boxes by Vijay Lakshminarayanan

+ +

mouse

+

+ + +

+
            .--,       .--,
+           ( (  \.---./  ) )
+            '.__/o   o\__.'
+               {=  ^  =}
+                >  -  <
+ ___________.""`-------`"".____________
+/                                      \
+\ o          joan stark        O       /
+/          spunk1111@juno.com          \
+\          ascii art gallery           /
+/ http://www.geocities.com/SoHo/7373/  \
+\______________________________________/
+              ___)( )(___  jgs
+             (((__) (__)))
+

Artwork by Joan G. Stark

+ +

normand

+

+ + +

+
        __,:,__               __,:,__               __,:,__    Normand    __,:,__
+     ,ad88P`Y88ba,         ,ad88P`Y88ba,         ,ad88P`Y88ba,         ,ad88P`Y88ba,
+   ad88888' `88888ba     ad88888' `88888ba     ad88888' `88888ba     ad88888' `88888ba
+ ,d88888P'   `Y88888b, ,d88888P'   `Y88888b, ,d88888P'   `Y88888b, ,d88888P'   `Y88888b,
+,d888P"'       `"Y888b,d888P"'       `"Y888b,d888P"'       `"Y888b,d888P"'       `"Y888b,
+:(["               ``":"''               ``":"''               ``":"''               "]):
+`Y88ba,                                                                           ,ad88P'
+ `88888ba                                                                       ad88888'
+  `Y88888b,                                                                   ,d88888P'
+    `"Y888b,    Thank you for visiting https://asciiart.website/             ,d888P"'
+        "]):    This ASCII pic can be found at                               :(["
+     ,ad88P'    https://asciiart.website/?art=art%20and%20design/borders     `Y88ba,
+   ad88888'                                                                   `88888ba
+ ,d88888P'                                                                     `Y88888b,
+,d888P"'                                                                         `"Y888b,
+:(["               __,:,__               __,:,__               __,:,__               "]):
+`Y88ba,         ,ad88P`Y88ba,         ,ad88P`Y88ba,         ,ad88P`Y88ba,         ,ad88P'
+ `88888ba     ad88888' `88888ba     ad88888' `88888ba     ad88888' `88888ba     ad88888'
+  `Y88888b, ,d88888P'   `Y88888b, ,d88888P'   `Y88888b, ,d88888P'   `Y88888b, ,d88888P'
+    `"Y888b,d888P"'       `"Y888b,d888P"'       `"Y888b,d888P"'       `"Y888b,d888P"'
+        ``":"''               ``":"''               ``":"''   Veilleux    ``":"''
+

Artwork by Normand Veilleux

+ +

nuke

+

+ +

+
                        _ ._  _ , _ ._
+                      (_ ' ( `  )_  .__)
+                    ( (  (    )   `)  ) _)
+                   (__ (_   (_ . _) _) ,__)
+                       `~~`\ ' . /`~~`
+                       ,::: ;   ; :::,
+                      ':::::::::::::::'
+ _________________jgs______/_ __ \________________________
+|                                                         |
+|                 BAD, BAD, BUG HERE :-)                  |
+|_________________________________________________________|
+

Artwork by Joan G. Stark

+ +

parchment

+

+ + +

+
 ________________________
+/\                       \
+\_|                       |
+  |                       |
+  |                       |
+  |   ____________________|_
+   \_/_____________________/
+

Artwork by (unknown artist)

+ +

peek

+

+ +

+
/*       _\|/_
+         (o o)
+ +----oOO-{_}-OOo---------------------+
+ |                                    |
+ | C function headers?                |
+ |                                    |
+ |                                    |
+ +-----------------------------------*/
+

Artwork by (unknown artist)

+ +

pound-cmt

+

+ + +

+
#
+#  regular comments used in Perl, Shell scripts, etc.
+#
+

Artwork is public domain

+ + +

+ + +

+
This can be used for marking code changes with your initials
+(I don't like it, but some people work this way):
+for (j=0; j<blank_count; ++j)        /* XX */
+    fprintf (opt.outfile, "\n");     /* XX */
+blank_count = 0;                     /* XX */
+

Artwork and boxes config by Thomas Jensen

+ +

santa

+

+ + +

+
                 .-"``"-.
+                /______; \
+               {_______}\|
+               (/ a a \)(_)
+               (.-.).-.)
+  _______ooo__(    ^    )____________
+ /             '-.___.-'             \
+|             joan stark              |
+|         spunk1111@juno.com          |
+|         ASCII ART GALLERY:          |
+|      http://www.ascii-art.com       |
+ \________________________ooo________/
+               |_  |  _|  jgs
+               \___|___/
+               {___|___}
+                |_ | _|
+                /-'Y'-\
+               (__/ \__)
+

Artwork by Joan G. Stark

+ +

scroll

+

+ + + +

+
 / ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \
+|  /~~\                                           /~~\  |
+|\ \   |                                         |   / /|
+| \   /|                                         |\   / |
+|  ~~  |                                         |  ~~  |
+|      |                                         |      |
+|      |                                         |      |
+|      |                                         |      |
+|      |                                         |      |
+|      |                                         |      |
+ \     |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|     /
+  \   /                                           \   /
+   ~~~                                             ~~~
+

Artwork by (unknown artist)

+ +

scroll-akn

+

+ + +

+
 /"\/\_..---------------------------------._/\/"\
+(     _|| ||| Scroll-AKN...          ||| ||_     )
+ \_/\/ || ------------------------------ || \/\_/
+       || Original Design by "akn" (???) ||
+       || Implemented in boxes by:       ||
+       ||     -~{ Tristano Ajmone }~-    ||
+ /"\/\_|----------------------------------|_/\/"\
+(     _|                                  |_     )
+ \_/\/ `----------------------------------' \/\_/
+

Artwork by akn, coded for boxes by Tristano Ajmone

+ +

shell

+

+ + +

+
#############
+#           #
+#           #
+#############
+

Artwork is public domain

+ +

simple

+

+ +

+
*************
+*           *
+*           *
+*************
+

Artwork is public domain

+ +

spring

+

+

+
      ,
+  /\^/`\
+ | \/   |
+ | |    |               SPRING IS IN THE AIR!              jgs
+ \ \    /                                                _ _
+  '\\//'                                               _{ ' }_
+    ||                      joan stark                { `.!.` }
+    ||                  <spunk1111@juno.com>          ',_/Y\_,'
+    ||  ,                                               {_,_}
+|\  ||  |\                                                |
+| | ||  | |              ASCII ART GALLERY:             (\|  /)
+| | || / /      <http://www.geocities.com/SoHo/7373/>    \| //
+ \ \||/ /                                                 |//
+  `\\//`   \\   \./    \\ /     //    \\./   \\   //   \\ |/ /
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+

Artwork by Joan G. Stark

+ +

stark1

+

+ +

+
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+^   -,                ,-. .          .    ^
+^    | ,-. ,-. ;-.    `-, |- ,-. ;-. | '  ^
+^  , | | | ,-| | |    , ; |  ,-| |   |`.  ^
+^  `-' `-' `-^ ' ^    `-' `- `-^ '   ` `  ^
+^          Spunk1111@juno.com             ^
+^      ,-.             .   . . . .        ^
+^      `-, ;-. . . ;-. | ' | | | |        ^
+^      , ; | | | | | | |`. | | | |        ^
+^      `-' |-' `-^ ' ^ ` ` ` ` ` `        ^
+^          `                              ^
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= jgs
+

Artwork by Joan G. Stark

+ +

stark2

+

+ +

+
.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@-:.
+.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@-:.
+.:-@    ____        (_,      _,  _,  _,  _,                        @-:.
+.:-@   (-(__`,_    ,_ |_,     |   |   |   |    Spunk1111@juno.com  @-:.
+.:-@    ____)|_)|_|| || \__, _|_ _|_ _|_ _|_                       @-:.
+.:-@   (    _|       |_,                                           @-:.
+.:-@       (            ____,         ____        (_,              @-:.
+.:-@                   (-| _  _ ,_   (-(__`_|_ _ ,_ |_,            @-:.
+.:-@                  _  |(_)(_|| |   ____) | (_||  | \_,          @-:.
+.:-@                 (__/            (      |_,                    @-:.
+.:-@                                                               @-:.
+.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@-:. jgs
+.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@.:-@-:.
+

Artwork by Joan G. Stark

+ +

stone

+

+ + +

+
+-------------+
+|    stone    |
++-------------+
+

Artwork and boxes config by Fredrik Steen

+ +

sunset

+

+ +

+
                          .
+                     .    |    .
+                      \   |   /
+                  '.   \  '  /   .'
+                    '. .'```'. .'
+<>.............:::::::`.......`:::::::................<>
+<>:   ., .., . . .  . .  .  .  .  .  . joan stark    :<>
+<>:  :,  :.' : : :`.: :.'  `: `: `: `:  spunk1111    :<>
+<>:  ,.; :   `.' : `: : `.  :  :  :  :   @juno.com   :<>
+<>:..................................................:<> jgs
+<><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+

Artwork by Joan G. Stark

+ +

tex-box

+

+ + +

+
%=============%
+% TeX is love %
+% Tex is life %
+%=============%
+

Artwork is public domain, coded for boxes by Nic H

+ +

tex-cmt

+

+ + +

+
%
+% regular TeX/LaTeX
+% comments
+%
+

Artwork is public domain, coded for boxes by Nic H

+ +

tux

+

+ +

+
 _________________
+/                 \
+|  Tux talks too  |
+\                 /
+ -----------------
+    \
+     \
+         .--.
+        |o_o |
+        |:_/ |
+       //   \ \
+      (|     | )
+     /'\_   _/`\
+     \___)=(___/
+

Artwork by Tony Monroe, coded for boxes by David Yang

+ +

twisted

+

+ + +

+
._____. ._____. .________________________________________. ._____. ._____.
+| ._. | | ._. | | .____________________________________. | | ._. | | ._. |
+| !_| |_|_|_! | | !____________________________________! | | !_| |_|_|_! |
+!___| |_______! !________________________________________! !___| |_______!
+.___|_|_| |____________________________________________________|_|_| |___.
+| ._____| |________________________________________________________| |_. |
+| !_! | | |                                                    | | ! !_! |
+!_____! | | * * * * * * * * * * * TWISTED * * * * * * * * * *  | | !_____!
+._____. | | -----------------------|-------------------------  | | ._____.
+| ._. | | | Just another cool ascii frame, brought to you by:  | | | ._. |
+| | | | | |                                                    | | | | | |
+| | | | | |              -~{ Tristano Ajmone }~-               | | | | | |
+| !_! | | | -----------------------|-------------------------  | | ! !_! |
+!_____! | | Derived from an ascii frame originally created by: | | !_____!
+._____. | |                                                    | | ._____.
+| ._. | | |               -~{ Michael Naylor }~                | | | ._. |
+| !_| |_|_|____________________________________________________| |_|_|_! |
+!___| |________________________________________________________| |_______!
+.___|_|_| |___. .________________________________________. .___|_|_| |___.
+| ._____| |_. | | .____________________________________. | | ._____| |_. |
+| !_! | | !_! | | !____________________________________! | | !_! | | !_! |
+!_____! !_____! !________________________________________! !_____! !_____!
+

Artwork by Michael Naylor, coded for boxes by Tristano Ajmone

+ +

underline

+

+ + +

+
// Bla, foo bar!
+// ~~~~~~~~~~~~~
+

Artwork and boxes config by Elmar Loos

+ +

unicornsay

+

+ +

+
 _________________________________
+/                                 \
+|     E L E C T R O L Y T E S     |
+\___________________________  __'\
+                            |/   \\
+                             \    \\  .
+                                  |\\/|
+                                  / " '\
+                                  . .   .
+                                 /    ) |
+                                '  _.'  |
+                                '-'/    \
+

Artwork by (unknown artist), coded for boxes by Mike Meyer

+ +

unicornthink

+

+ +

+
 _________________________________
+/                                 \
+|     E L E C T R O L Y T E S     |
+\______________________________ '\
+                           ()    \\
+                             O    \\  .
+                               o  |\\/|
+                                  / " '\
+                                  . .   .
+                                 /    ) |
+                                '  _.'  |
+                                '-'/    \
+

Artwork by (unknown artist), coded for boxes by Mike Meyer

+ +

vim-box

+

+ + +

+
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
+" Header seperator on your vim config's file (.vimrc) "
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""
+

Artwork is public domain, coded for boxes by Ricky Anderson

+ +

vim-cmt

+

+ + +

+
"
+" comments used in the vim editor's config file (.vimrc)
+"
+

Artwork by Bram Moolenaar

+ +

warning

+

+ + + +

+
▄▄ WARNING ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
+                                               
+  Sub-zero temperatures expected.              
+  Please drive carefully.                      
+                                               
+▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

Artwork and boxes config by Thomas Jensen

+ +

weave

+

+ + +

+
          _       _       _       _       _       _       _       _       _       _       _
+ .-"-._,-'_`-._,-'_`-._,-'_`-._,-'_`-._,-'_`-._,-'_`-._,-'_`-._,-'_`-._,-'_`-._,-'_`-,_,-'_`-,.
+(  ,-'_,-<.>-'_,-<.>-'_,-<.>-'_,-<.>-'_,-<.>-'_,-<.>-'_,-<.>-'_,-<.>-'_,-<.>-'_,-<.>-'_,-~-} ;.
+ \ \.'_>-._`-<_>-._`-<_>-._`-<_>-._`-<_>-._`-<_>-._`-<_>-._`-<_>-._`-<_>-._`-<_>-._`-._~--. \ .
+ /\ \/ ,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._`./ \ \ .
+dc(`/ /                                                                                `/ /.) ) .
+ \ \ / \                                                                               / / \ / .
+  \ \') )                                                                             ( (,\ \ .
+ / \ / /     Thank you for visiting https://asciiart.website/                          \ / \ \ .
+( (`/ /      This ASCII pic can be found at                                             / /.) ) .
+ \ \ / \     https://asciiart.website/index.php?art=art%20and%20design/borders         / / \ / .
+  \ \') )                                                                             ( (,\ \ .
+ / \ / /                                                                               \ / \ \ .
+( (`/ /                                                                                 / /.) ) .
+ \ \ / \       _       _       _       _       _       _       _       _       _       / / \ /.
+  \ `.\ `-._,-'_`-._,-'_`-._,-'_`-._,-'_`-._,-'_`-._,-'_`-._,-'_`-._,-'_`-._,-'_`-._,-'_/,\ \ .
+ ( `. `,~-._`-<,>-._`-<,>-._`-<,>-._`-<,>-._`-<,>-._`-<,>-._`-<,>-._`-<,>-._`-<,>-._`-=,' ,\ \ .
+  `. `'_,-<_>-'_,-<_>-'_,-<_>-'_,-<_>-'_,-<_>-'_,-<_>-'_,-<_>-'_,-<_>-'_,-<_>-'_,-<_>-'_,"-' ; .
+    `-' `-._,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._,-' `-._,-' `-.-' .
+

Artwork by dc

+ +

whirly

+

+ +

+
 .+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.
+(                                                             )
+ )                                                           (
+(                                                             )
+ "+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"
+

Artwork by (unknown artist)

+ +

xes

+

+ +

+
        <\/><\/><\/>
+    <\/></\></\></\><\/>
+    </\>            </\>
+ <\/>                  <\/>
+ </\>                  </\>
+<\/>                    <\/>
+</\>                    </\>
+ <\/>                  <\/>
+ </\>                  </\>
+    <\/>            <\/>
+    </\><\/><\/><\/></\>
+jgs     </\></\></\>
+

Artwork by Joan G. Stark

+ +Where the coder of the boxes config is not explicitly listed + it is "Thomas Jensen". + + +
+
+
+
+ + + + + + + + diff --git a/cache/cached_border.dat b/cache/cached_border.dat new file mode 100644 index 0000000..ce225e1 --- /dev/null +++ b/cache/cached_border.dat @@ -0,0 +1 @@ +c-cmt diff --git a/cache/title-songs.txt b/cache/title-songs.txt index c43e7c5..7754b29 100644 --- a/cache/title-songs.txt +++ b/cache/title-songs.txt @@ -1 +1 @@ -Now Playing: [30fps Full風] Love Words 愛言葉 "AI KOTOBA" - 初音ミク Hatsune Miku DIVA English Romaji subtitles.mp3 +Now Playing: GAMPANG HAFAL Surat Al Kahfi 1-10 | Muzammil Hasballah.mp3 diff --git a/lib/alfetch.sh b/lib/alfetch.sh index d374707..7ced307 100644 --- a/lib/alfetch.sh +++ b/lib/alfetch.sh @@ -53,6 +53,9 @@ _fill_blank=$(printf %"$_calc"s | sed "s/ /$_draw_char/g") #printf %"$_min_cols"s && echo "$_char" #printf %"$_min_cols"s && echo -e "$_char\rHELLO WORD" #printf %"$_min_cols"s && echo -e "$_char\r${_char} HELLO WORD" +border() { +al_status_boxes_border; +} : " user() { echo -n "$USER" @@ -185,7 +188,7 @@ function use_color() { function move_space() { local arg1=$1; - printf '%*s%s\n' ${arg1:-0} " " + printf '%*s%s' ${arg1:-0} " " } function default_header() { @@ -194,8 +197,9 @@ function default_header() { } function main() { +#default_header default_header -default_header +fetch ${_char}" "" ""▢ motd-border >>" "boxes ($(border))" "${_char}" fetch ${_char}" "" "" os >>" "$(os) ($(arch))" "${_char}" fetch ${_char}" "" "" term >>" "$(term)" "${_char}" fetch ${_char}" "" "" date >>" "$(get_date)" "${_char}" @@ -208,13 +212,23 @@ fetch ${_char}" "" "" packages >>" "$(packages)" "${_char}" default_header } + + [ ! -d ~/.config/alfetch ] && mkdir -p ~/.config/alfetch #&& echo berhasi lbuat + + + + if [ -f ~/.config/alfetch/alfetch.config.conf ]; then #echo found conf_value=$(awk -F"'" '/ALFETCH_CONF_VCODE/{print $2}' ~/.config/alfetch/alfetch.config.conf) + if [ "$conf_value" == "$ALFETCH_CONF_VCODE" ]; then + + source ~/.config/alfetch/alfetch.config.conf + else echo "Wrong config!"; fi diff --git a/lib/ext_command_helper.sh b/lib/ext_command_helper.sh new file mode 100644 index 0000000..620c43a --- /dev/null +++ b/lib/ext_command_helper.sh @@ -0,0 +1,52 @@ +#! bash alrc-termux.module + + +## LOLCRAB GRADIENT TEMPLATE +al_print_lolcrab_gradient_available() { +lolcrab --help | xargs -d "\n" | grep -o -P '(?<=possible values: )[^\]]+' | xargs -n1 | sed 's/[,]//g' + +} + +al_shuf_lolcrab_gradient() +{ +readarray -t LOLCRAB_GRADIENT_LIST < <(al_print_lolcrab_gradient_available) + for i in ${LOLCRAB_GRADIENT_LIST[@]}; + do + echo "$i"; + done | fold -s | shuf -n1 +} + +## BOXES DESIGNS TEMPLETE + +_al_utils_boxes_main() { + +if [ -f $ALRC_HOME/cache/box-designs-templete.txt ]; then +readarray -t BOXES_DESIGN < <(cat $ALRC_HOME/cache/box-designs-templete.txt | grep -o -P 'h3 id="[^"]*">\K[^<]*' | sed 's/[(,)]//g' | xargs -n1) + +else + echo -e "${FUNCNAME[0]}: can't fetch no such cache file." + unset BOXES_DESIGN +return 1 +fi + +} + +al_print_boxes_design_available() { +_al_utils_boxes_main; +printf '%s\n' "${BOXES_DESIGN[@]}" +} + +al_shuf_boxes_design() { +_al_utils_boxes_main; +last_border_used=$(for i in ${BOXES_DESIGN[@]}; + do + echo "$i" + done | fold -s | shuf -n1) +export last_border_used + echo "$last_border_used" && echo "$last_border_used" > $ALRC_HOME/cache/cached_border.dat +} +al_status_boxes_border() { +if [ $(env | grep 'ALRC_MOTD_USE_BOXES') ]; then + cat $ALRC_HOME/cache/cached_border.dat +fi +} \ No newline at end of file diff --git a/plugins/boxes_motd_custom.alrc.plugin.sh b/plugins/boxes_motd_custom.alrc.plugin.sh new file mode 100644 index 0000000..3324855 --- /dev/null +++ b/plugins/boxes_motd_custom.alrc.plugin.sh @@ -0,0 +1,19 @@ +#! bash alrc-termux.module + + +alias al_login='source $ALRC_HOME/$ALRC_SOURCE; set -o history'; + +#ping -c 1 -w 5 google.com &>/dev/null || echo -e "${warn}WARN:${reset}: This action requires an active ${italic}internet${reset} connection.\n" + +if [ ! -f $ALRC_HOME/cache/box-designs-templete.txt ]; then + +echo -e ${info}"INFO${reset}: Sedang mengunduh... add-on untuk fitur custom motd dengan border, dibutuhkan untuk package ${bold}boxes.${reset}" + + curl -fSsl https://boxes.thomasjensen.com/v2.3.0/box-designs.html -o $ALRC_HOME/cache/box-designs-templete.txt 2>/dev/null + +if [ $? -eq 0 ]; then + echo -e ${info}"INFO:${reset}: ... done!${reset}" +else + echo -en ${error}"ERROR:${reset} Failed." +fi +fi \ No newline at end of file