fa5359d937
* Make fbwidth and fbheight available as a function, and ensure it supports rotated displays.
13 lines
316 B
Bash
13 lines
316 B
Bash
#!/bin/bash
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
|
|
|
|
. /etc/profile
|
|
|
|
MYDEVICE=$(get_setting system.audiodevice)
|
|
if [ -z "${MYDEVICE}" ] || \
|
|
[ ! -e "/storage/.config/asound.conf" ]
|
|
then
|
|
### Set the audio device
|
|
set-audio set "HDMI (0:3)"
|
|
fi
|