diff --git a/init.sh b/init.sh index 41a7e92..fabf5c3 100755 --- a/init.sh +++ b/init.sh @@ -505,12 +505,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" + wxiLink "Warén Group™" "https://waren.io" echo "==============================" } @@ -526,6 +524,10 @@ 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" ]] then