This file contains hidden or 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
# Favorites | |
favorites="${HOME}/.local/share/favorites" | |
if [[ -n "${ZSH_VERSION}" ]]; then | |
cdpath=("${cdpath[@]}" "${favorites}") | |
elif [[ -n "${BASH_VERSION}" ]]; then | |
CDPATH=("${CDPATH[@]}" "${favorites}") | |
fi | |
favorite() { | |
local current_dir="${PWD}" | |
local favorites_dir="${favorites}" |
This file contains hidden or 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> |
This file contains hidden or 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 |
This file contains hidden or 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 |