diff --git a/config/includes.chroot/etc/hostname b/config/includes.chroot/etc/hostname new file mode 100644 index 0000000..67c8c52 --- /dev/null +++ b/config/includes.chroot/etc/hostname @@ -0,0 +1 @@ +Assessment-Kiosk \ No newline at end of file diff --git a/config/includes.chroot/etc/plymouth/plymouthd.conf b/config/includes.chroot/etc/plymouth/plymouthd.conf old mode 100644 new mode 100755 index b84ddef..66370b2 --- a/config/includes.chroot/etc/plymouth/plymouthd.conf +++ b/config/includes.chroot/etc/plymouth/plymouthd.conf @@ -1,2 +1,2 @@ [Daemon] -Theme=tribar \ No newline at end of file +Theme=simple-image \ No newline at end of file diff --git a/config/includes.chroot/etc/skel/.bashrc b/config/includes.chroot/etc/skel/.bashrc old mode 100644 new mode 100755 index 49a5ee1..7464970 --- a/config/includes.chroot/etc/skel/.bashrc +++ b/config/includes.chroot/etc/skel/.bashrc @@ -21,9 +21,7 @@ NetCheck while [[ "$Net" = "false" ]]; do read -p "Network could not be initialized, Try again (y/n) " yn case $yn in - [yY]* ) - NetCheck - break;; + [yY]* ) NetCheck;; [Nn]* ) break;; * ) echo invalid response;; esac diff --git a/config/includes.chroot/opt/tools/lshw-static b/config/includes.chroot/opt/tools/lshw-static new file mode 100755 index 0000000..cad3226 Binary files /dev/null and b/config/includes.chroot/opt/tools/lshw-static differ diff --git a/config/includes.chroot/usr/share/plymouth/themes/simple-image/LICENSE b/config/includes.chroot/usr/share/plymouth/themes/simple-image/LICENSE new file mode 100644 index 0000000..81c3f4d --- /dev/null +++ b/config/includes.chroot/usr/share/plymouth/themes/simple-image/LICENSE @@ -0,0 +1,24 @@ +Copyright (c) 2017, litarvan. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/config/includes.chroot/usr/share/plymouth/themes/simple-image/README.md b/config/includes.chroot/usr/share/plymouth/themes/simple-image/README.md new file mode 100644 index 0000000..5ce66cc --- /dev/null +++ b/config/includes.chroot/usr/share/plymouth/themes/simple-image/README.md @@ -0,0 +1,9 @@ +# Plymouth theme - Simple Image + +This is a theme for plymouth which only displays a simple image. The current image is a simple logo for ArchLinux. + +To change the image, you can simple change the `img.png` to whatever you want to show. + +This package is avaliable on the [AUR](https://aur.archlinux.org/packages/plymouth-theme-simple-image-git). + +_The current background is borrowed from [Litarvan's](https://github.com/Litarvan) excellent [lightdm theme](https://github.com/Litarvan/lightdm-webkit-theme-litarvan)._ diff --git a/config/includes.chroot/usr/share/plymouth/themes/simple-image/simple-image.plymouth b/config/includes.chroot/usr/share/plymouth/themes/simple-image/simple-image.plymouth new file mode 100644 index 0000000..91e12db --- /dev/null +++ b/config/includes.chroot/usr/share/plymouth/themes/simple-image/simple-image.plymouth @@ -0,0 +1,8 @@ +[Plymouth Theme] +Name=Arch Linux Simple Image +Description=This is a plymouth theme which simply displays an image +ModuleName=script + +[script] +ImageDir=/usr/share/plymouth/themes/simple-image +ScriptFile=/usr/share/plymouth/themes/simple-image/simple-image.script diff --git a/config/includes.chroot/usr/share/plymouth/themes/simple-image/simple-image.script b/config/includes.chroot/usr/share/plymouth/themes/simple-image/simple-image.script new file mode 100644 index 0000000..53e1015 --- /dev/null +++ b/config/includes.chroot/usr/share/plymouth/themes/simple-image/simple-image.script @@ -0,0 +1,15 @@ +image = Image("img.png"); + +pos_x = Window.GetWidth()/2 - image.GetWidth()/2; +pos_y = Window.GetHeight()/2 - image.GetHeight()/2; + +sprite = Sprite(image); +sprite.SetX(pos_x); +sprite.SetY(pos_y); + +fun refresh_callback () { + sprite.SetOpacity(1); + spr.SetZ(15); +} + +Plymouth.SetRefreshFunction (refresh_callback); diff --git a/config/package-lists/kiosk.list.chroot b/config/package-lists/kiosk.list.chroot old mode 100644 new mode 100755 index 1f84552..67f1424 --- a/config/package-lists/kiosk.list.chroot +++ b/config/package-lists/kiosk.list.chroot @@ -1,3 +1,4 @@ +#BaseKiosk matchbox-window-manager x11-xserver-utils xinit @@ -7,4 +8,9 @@ chromium discover discover-data alsa-utils -plymouth \ No newline at end of file +plymouth +plymouth-label +plymouth-themes +#AssementTools +#Broken#lsh +jq diff --git a/customization/Default/includes.chroot/opt/custom/CustomBG.png b/customization/Default/includes.chroot/opt/custom/CustomBG.png deleted file mode 100644 index 60c3125..0000000 Binary files a/customization/Default/includes.chroot/opt/custom/CustomBG.png and /dev/null differ diff --git a/customization/Default/includes.chroot/usr/share/plymouth/themes/simple-image/img.png b/customization/Default/includes.chroot/usr/share/plymouth/themes/simple-image/img.png new file mode 100644 index 0000000..3b3a44e Binary files /dev/null and b/customization/Default/includes.chroot/usr/share/plymouth/themes/simple-image/img.png differ