mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 04:06:54 +00:00
Update utils.sh
This commit is contained in:
parent
1c1e3f4688
commit
28588bcb44
@ -67,6 +67,17 @@ spinner() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Function to simulate typing effect
|
||||||
|
type_text() {
|
||||||
|
local text="$1"
|
||||||
|
local delay=0.05
|
||||||
|
for ((i=0; i<${#text}; i++)); do
|
||||||
|
echo -n "${text:$i:1}"
|
||||||
|
sleep $delay
|
||||||
|
done
|
||||||
|
echo
|
||||||
|
}
|
||||||
|
|
||||||
# Display info message with spinner
|
# Display info message with spinner
|
||||||
msg_info() {
|
msg_info() {
|
||||||
local msg="$1"
|
local msg="$1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user