CLI: Update

This commit is contained in:
Christer Warén
2026-09-18 18:39:09 +03:00
parent 756059c2d9
commit 6be628de5a
+8 -8
View File
@@ -290,14 +290,10 @@ wxi-content(){
wxi-footer(){
echo ""
echo "------------------------------"
wxi-repeat " " $((30/2-12/2))
echo -n "$wxiBold"
echo "Warén Group™"
echo "Designed by"
echo -n "$wxiNormal"
wxi-repeat " " $((30/2-17/2))
echo "https://waren.io"
echo "=============================="
wxiLink "Warén Group™" "https://waren.io"
}
wxiRed=$(tput setaf 196)
@@ -312,8 +308,12 @@ wxiUnderline=$(tput smul)
wxiBold=$(tput bold)
wxiNormal=$(tput sgr0)
wxiLink() {
printf '\e]8;;%s\e\\%s\e]8;;\e\\\n' "$2" "$1"
}
wxi-header(){
if [[ $2 == "h1" ]]
if [[ $2 == "h1" || $2 == "" ]]
then
#wxi-repeat " " $(($(tput cols)/2-${#1}/2))
echo -n "$wxiBold"
@@ -1031,7 +1031,7 @@ wxi-ssh-keys-sync(){
wxi-args "$@"
wxi-config
echo -n $wxiBold$wxiRed
echo -n $wxiBold$wxiOrange
cat <<'EOF'
(`\ .-') /` ('-. _ .-') ('-. .-') _