#!/bin/bash

sudo /usr/bin/vx-conf-centro-general-cli | \
sed -r 's/'$(echo -e "\033")'\[[0-9]{1,2}(;([0-9]{1,2})?)?[mK]//g' | \
yad --title "Configuración Equipo Centro" \
--center \
--width 550 --fixed \
--text-align center \
--window-icon vitalinux \
--image json-conf-centro \
--text "  Configurando el Equipo de Centro Vitalinux: \n  <b> Espere un momento a que termine ...</b>\n" \
--progress  --pulsate --auto-close \
--button="Cerrar"