Compare commits
No commits in common. "d88d70df6b05dd719ba8eb3229913dfbc8104412" and "4173e28c358cdbc5f3f89269c74f5f5c63e2b729" have entirely different histories.
d88d70df6b
...
4173e28c35
3 changed files with 17 additions and 18 deletions
|
@ -14,7 +14,7 @@ line() {
|
||||||
peoples() {
|
peoples() {
|
||||||
i=1
|
i=1
|
||||||
while [[ $i -le $COLUMNS ]]; do
|
while [[ $i -le $COLUMNS ]]; do
|
||||||
echo -en "\U1FBC$((RANDOM % 5 + 5))"
|
echo -en "\U1FBC$((RANDOM % 5 +5))"
|
||||||
i=$((i + 1))
|
i=$((i + 1))
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,32 +3,32 @@
|
||||||
COLUMNS=$(tput cols)
|
COLUMNS=$(tput cols)
|
||||||
|
|
||||||
digit() {
|
digit() {
|
||||||
echo -en "\U1FBF$1 "
|
echo -en "\U1FBF$1 "
|
||||||
}
|
}
|
||||||
|
|
||||||
print-time() {
|
print-time() {
|
||||||
TIMESTAMP="$1"
|
TIMESTAMP="$1"
|
||||||
for ((i = 0; i < ${#TIMESTAMP}; i++)); do
|
for (( i=0; i<${#TIMESTAMP}; i++ )); do
|
||||||
digit "${TIMESTAMP:i:1}"
|
digit "${TIMESTAMP:$i:1}"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
spacing() {
|
spacing() {
|
||||||
for ((i = 0; i < $1; i++)); do
|
for (( i=0; i<$1; i++ )); do
|
||||||
printf "%s" "-"
|
printf "%s" "-"
|
||||||
done
|
done
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
epoch=$(print-time "$(date +'%s')")
|
epoch=$(print-time "$(date +'%s')")
|
||||||
side=$(spacing $(((COLUMNS - (${#epoch} + 6)) / 2)))
|
side=$(spacing $(((COLUMNS-(${#epoch}+6))/2)))
|
||||||
|
|
||||||
print-line() {
|
print-line() {
|
||||||
printf "\n\033[1m%s [ \033[1;9%dm%s\033[39m ] %s\033[0m\n" \
|
printf "\n\033[1m%s [ \033[1;9%dm%s\033[39m ] %s\033[0m\n" \
|
||||||
"$side" \
|
"$side" \
|
||||||
"$((RANDOM % 7 + 1))" \
|
"$((RANDOM % 7+1))" \
|
||||||
"$1" \
|
"$1" \
|
||||||
"$side"
|
"$side"
|
||||||
}
|
}
|
||||||
|
|
||||||
print-line "$epoch"
|
print-line "$epoch"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
# >>> conda initialize >>>
|
# >>> conda initialize >>>
|
||||||
# !! Contents within this block are managed by 'conda init' !!
|
# !! Contents within this block are managed by 'conda init' !!
|
||||||
__conda_setup="$("$HOME/mambaforge/bin/conda" 'shell.zsh' 'hook' 2>/dev/null)"
|
__conda_setup="$('$HOME/mambaforge/bin/conda' 'shell.zsh' 'hook' 2>/dev/null)"
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
eval "$__conda_setup"
|
eval "$__conda_setup"
|
||||||
else
|
else
|
||||||
|
@ -26,7 +26,7 @@ fi
|
||||||
# !! Contents within this block are managed by 'mamba init' !!
|
# !! Contents within this block are managed by 'mamba init' !!
|
||||||
export MAMBA_EXE="$HOME/.local/bin/micromamba"
|
export MAMBA_EXE="$HOME/.local/bin/micromamba"
|
||||||
export MAMBA_ROOT_PREFIX="$HOME/micromamba"
|
export MAMBA_ROOT_PREFIX="$HOME/micromamba"
|
||||||
__mamba_setup="$("$HOME/.local/bin/micromamba" shell hook --shell zsh --prefix "$HOME/micromamba" 2>/dev/null)"
|
__mamba_setup="$('$HOME/.local/bin/micromamba' shell hook --shell zsh --prefix '/home/daylin/micromamba' 2>/dev/null)"
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
eval "$__mamba_setup"
|
eval "$__mamba_setup"
|
||||||
else
|
else
|
||||||
|
@ -66,4 +66,3 @@ snake() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue