distribution/packages/misc/modules/sources/ThemeMaster.sh
2022-10-19 15:14:13 -04:00

15 lines
380 B
Bash
Executable file

#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2020-present Fewtarius
# Maintenance 2022-present BrooksyTech (https://github.com/brooksytech)
. /etc/profile
if [ "${UI_SERVICE}" = "weston.service" ]
then
sed -i -e "s#/dev/tty1#/dev/tty#" /storage/roms/ports/ThemeMaster/ThemeMaster
fi
cd /storage/roms/ports/ThemeMaster
./ThemeMaster.sh 2>/dev/null