View kite-update.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
# adapted from diko_d scripts | |
# untested, made by ziggurat | |
if [[ "${1}" == "install" ]]; then | |
if grep -Fxq "kite-update.sh" /opt/retropie/configs/all/emulationstation/gamelists/retropie/gamelist.xml; then | |
kitesection=$( | |
cat <<_END_ | |
<game> |
View suspend-modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Put into /lib/systemd/system-sleep/suspend-modules | |
# chmod a+x /lib/systemd/system-sleep/suspend-modules | |
# Unloads kernel modules defined in /etc/suspend-modules.d/*.conf | |
# and /etc/suspend-modules | |
# with one module per line | |
# Too see credits, see git history |
View vlc play
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while true; do | |
vlc "/mnt/fileserver/folderwithfiles" --fullscreen --no-mouse-events --no-osd --no-audio ; | |
done |