46 lines
973 B
Bash
Executable file
46 lines
973 B
Bash
Executable file
#!/bin/sh
|
|
yes j | sudo pacman -Syu chicken sdl2 sdl2_ttf sdl2_image flatpak vim vulkan-panfrost
|
|
|
|
sudo systemctl enable bluetooth
|
|
blueman-tray &
|
|
|
|
sudo mkdir -p /etc/systemd/dnssd
|
|
cat << EOF > kodi.dnssd
|
|
[Service]
|
|
Name=%H
|
|
Type=_http._tcp
|
|
SubType=_kodi
|
|
Port=8080
|
|
EOF
|
|
sudo mv kodi.dnssd /etc/systemd/dnssd/
|
|
sudo systemctl restart systemd-resolved.service
|
|
|
|
for FPAK in tv.kodi.Kodi org.libretro.RetroArch
|
|
do
|
|
flatpak install -y $FPAK
|
|
done
|
|
|
|
cat <<EOF > led_off.sh
|
|
#!/bin/sh
|
|
echo none | sudo tee /sys/class/leds/blue_led/trigger
|
|
echo none | sudo tee /sys/class/leds/green_led/trigger
|
|
EOF
|
|
chmod +x led_off.sh
|
|
|
|
cat <<EOF > "${HOME}/.config/autostart/led_off.desktop"
|
|
[Desktop Entry]
|
|
Type=Application
|
|
Exec=${HOME}/led_off.sh
|
|
X-GNOME-Autostart-enabled=true
|
|
EOF
|
|
|
|
cat <<EOF > "${HOME}/.config/autostart/menu.desktop"
|
|
[Desktop Entry]
|
|
Type=Application
|
|
Exec=${HOME}/ecmenu/menu
|
|
X-GNOME-Autostart-enabled=true
|
|
EOF
|
|
|
|
git clone https://forgejo.lyrion.ch/zilti/ecmenu.git
|
|
cd ecmenu
|
|
./update
|