CLI: Update
This commit is contained in:
@@ -290,14 +290,10 @@ wxi-content(){
|
|||||||
|
|
||||||
wxi-footer(){
|
wxi-footer(){
|
||||||
echo ""
|
echo ""
|
||||||
echo "------------------------------"
|
|
||||||
wxi-repeat " " $((30/2-12/2))
|
|
||||||
echo -n "$wxiBold"
|
echo -n "$wxiBold"
|
||||||
echo "Warén Group™"
|
echo "Designed by"
|
||||||
echo -n "$wxiNormal"
|
echo -n "$wxiNormal"
|
||||||
wxi-repeat " " $((30/2-17/2))
|
wxiLink "Warén Group™" "https://waren.io"
|
||||||
echo "https://waren.io"
|
|
||||||
echo "=============================="
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wxiRed=$(tput setaf 196)
|
wxiRed=$(tput setaf 196)
|
||||||
@@ -312,8 +308,12 @@ wxiUnderline=$(tput smul)
|
|||||||
wxiBold=$(tput bold)
|
wxiBold=$(tput bold)
|
||||||
wxiNormal=$(tput sgr0)
|
wxiNormal=$(tput sgr0)
|
||||||
|
|
||||||
|
wxiLink() {
|
||||||
|
printf '\e]8;;%s\e\\%s\e]8;;\e\\\n' "$2" "$1"
|
||||||
|
}
|
||||||
|
|
||||||
wxi-header(){
|
wxi-header(){
|
||||||
if [[ $2 == "h1" ]]
|
if [[ $2 == "h1" || $2 == "" ]]
|
||||||
then
|
then
|
||||||
#wxi-repeat " " $(($(tput cols)/2-${#1}/2))
|
#wxi-repeat " " $(($(tput cols)/2-${#1}/2))
|
||||||
echo -n "$wxiBold"
|
echo -n "$wxiBold"
|
||||||
@@ -1031,7 +1031,7 @@ wxi-ssh-keys-sync(){
|
|||||||
wxi-args "$@"
|
wxi-args "$@"
|
||||||
wxi-config
|
wxi-config
|
||||||
|
|
||||||
echo -n $wxiBold$wxiRed
|
echo -n $wxiBold$wxiOrange
|
||||||
cat <<'EOF'
|
cat <<'EOF'
|
||||||
|
|
||||||
(`\ .-') /` ('-. _ .-') ('-. .-') _
|
(`\ .-') /` ('-. _ .-') ('-. .-') _
|
||||||
|
|||||||
Reference in New Issue
Block a user