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
d8e117d1e1
commit
3eed616580
@ -39,7 +39,6 @@ VENV_PATH="/opt/googletrans-env"
|
|||||||
TRANSLATION_CONTEXT="Context: Technical message for Proxmox and IT. Translate:"
|
TRANSLATION_CONTEXT="Context: Technical message for Proxmox and IT. Translate:"
|
||||||
|
|
||||||
# Color and style definitions
|
# Color and style definitions
|
||||||
NV="\033[38;2;200;50;255m"
|
|
||||||
YW="\033[33m"
|
YW="\033[33m"
|
||||||
YWB="\033[1;33m"
|
YWB="\033[1;33m"
|
||||||
GN="\033[1;92m"
|
GN="\033[1;92m"
|
||||||
@ -49,6 +48,7 @@ BL="\033[36m"
|
|||||||
BOLD="\033[1m"
|
BOLD="\033[1m"
|
||||||
BFR="\\r\\033[K"
|
BFR="\\r\\033[K"
|
||||||
HOLD="-"
|
HOLD="-"
|
||||||
|
BOR=" | "
|
||||||
CM="${GN}✓${CL}"
|
CM="${GN}✓${CL}"
|
||||||
TAB=" "
|
TAB=" "
|
||||||
|
|
||||||
@ -119,6 +119,14 @@ msg_success() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Display title sctip
|
||||||
|
msg_title() {
|
||||||
|
local msg="$1"
|
||||||
|
echo -e "\n"
|
||||||
|
echo -e "${TAB}${BOLD}${HOLD}${BOR}${msg}${BOR}${HOLD}${CL}"
|
||||||
|
Broadcast message from systemd-journald@contructor2 (Mon 2025-02-24 19:23:41 CET):
|
||||||
|
}
|
||||||
|
|
||||||
# Display warning or highlighted information message
|
# Display warning or highlighted information message
|
||||||
msg_warn() {
|
msg_warn() {
|
||||||
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then
|
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user