#!/bin/sh

EDITOR=featherpad

yad --form --title="Welcome to MiyoLinux!" --height=300 --width=300 \
--center --window-icon=/usr/share/miyolinux/miyolinux.png \
--borders=10 --no-buttons \
--text="<span font_weight='bold' font='18' color='#4084D6'>                Welcome! Thank you for your interest in MiyoLinux Rolling!</span> 

Thank you for giving MiyoLinux Rolling a try, but please be aware that MiyoLinux Rolling is built on Devuan ceres; which is, the <span font_weight='bold'>UNSTABLE</span> branch of Devuan. Please use at your own risk. :)  MiyoLinux Rolling is a very basic system without much customization. Its look and feel is mostly based on the first and original version of MiyoLinux released in 2016. Therefore, while it does include some customization, it's still a very basic system which will allow you to...make it your own. :)

<span font_weight='bold'>SPECIAL NOTE:</span> For non-English installations...there are notes near the top of both the Release Notes and Live User Notes for users who may install MiyoLinux Rolling in a non-English locale/language. Please read them in order to help you have a better experience.

The Live User Notes and Release Notes both contain information to help you in this live session and after installation. They are located in the Documents folder of the file manager. However, you can easily access them by clicking on <span font_weight='bold'>Live User Notes</span> and <span font_weight='bold'>Release Notes</span>. The Live User Notes will be deleted after installation; however, the Release Notes will remain on the installed system. If you decide to install MiyoLinux, please take time soon after to read over the Release Notes.

MiyoLinux uses the US keyboard layout by default; however, you can change the keyboard layout in the live session by clicking on <span font_weight='bold'>Change Keyboard Layout</span>. When the application opens, find your desired layout, click on it, then click OK. The system will then adopt your layout.

Also, you can connect to your network by clicking on <span font_weight='bold'>Network Connections</span>. Wired connections should connect automatically. See the Live User Notes for more information on connecting to a Wireless Network.

Finally, if you want to jump right in, you can install the system straight from here by clicking on <span font_weight='bold'>Install MiyoLinux</span>. However, if you would prefer to explore MiyoLinux further, the installer can also be found in the <span font_weight='bold'>System</span> category of the menu.
" \
--columns=5 \
--field="  Live User Notes!applications-office!Live User Notes":fbtn "$EDITOR $HOME/Documents/Live-User-Notes" \
--field="  Release Notes!applications-office!MiyoLinux Release Notes":fbtn "$EDITOR $HOME/Documents/Release-Notes" \
--field="  Change Keyboard Layout!keyboard!Change the keyboard layout":fbtn "/usr/bin/miyo-keyboard" \
--field="  Network Connections!network-wireless!Connect to a wired or wireless network":fbtn "cmst -d" \
--field="  Install MiyoLinux!gtk-save!Install MiyoLinux onto your computer":fbtn "/usr/bin/refractainstaller-wrapper.sh" \
