#!/bin/bash
#--------------------------------------------
# Description: Linux Widget - Enable
# Authors: Jerry Bezencon
# Website: https://www.linuxliteos.com
#--------------------------------------------

ic="/usr/share/icons/Papirus/24x24/apps/liteicon.png"		# dialog icon 24x24 PNG

conky -c /etc/conky-lite/widget &
cp /etc/xdg/autostart/litewidget.desktop /home/$USER/.config/autostart/
sleep 2
sed -i 's/true/false/g' /home/$USER/.config/autostart/litewidget.desktop

zenity --info --width="240" --height=40 --title="   Lite Widget" --window-icon=$ic --text="\nLite Widget has been enabled."

exit 0
