#!/bin/sh
# This is the post install script for Bigscreen UI

# Expand the filesystem
resize-fs

# Set chassis
#hostnamectl set-chassis convertible

# Update appstream DB
[[ -e /usr/bin/appstreamcli ]] && /usr/bin/appstreamcli refresh-cache --force

# Set locales
localectl set-locale "en_US.UTF-8"

# Disable this service, so it only gets run on first boot
systemctl disable bigscreen-post-install.service

# Setup Waydroid
[[ -e /usr/bin/setup-waydroid ]] && setup-waydroid

# Start SDDM
[[ -e /usr/bin/sddm ]] && systemctl enable sddm

