removing unused scripts

This commit is contained in:
Siina Mashek 2023-07-15 21:28:08 +03:00
parent 9366385324
commit af7e14bcaf
5 changed files with 0 additions and 56 deletions

View File

@ -1,5 +0,0 @@
#!/bin/sh
/usr/bin/rescrobbled &
/usr/bin/audacious
kill -9 $(pgrep -f rescrobbled)
exit

View File

@ -1,24 +0,0 @@
#!/bin/sh
dwarfdir="/games/dwarf-fortress"
timestamp=$(date +"%Y%m%d-%H.%M.%S")
# Remove libstdc++.so.6 since it's too old for bitbreaker
if [[ -f "$dwarfdir/libs/libstdc++.so.6" ]]; then
rm "$dwarfdir/libs/libstdc++.so.6"
echo "Removed bundled libstdc++.so.6"
fi
# Clear the gamelog for stream
if [[ -f "$dwarfdir/gamelog.txt" ]]; then
mv "$dwarfdir/gamelog.txt" "$dwarfdir/logs/gamelog-$timestamp.txt"
fi
cd $dwarfdir
if [[ -f "dfhack" ]]; then
echo "DFHack installed, using dfhack"
alacritty -e ./dfhack -t "DFHack"
else
./df
fi

View File

@ -1,11 +0,0 @@
#!/bin/sh
bus-monitor --session "type='signal',interface='org.freedesktop.ScreenSaver'" |
while read x; do
case "$x" in
# Simulate monitor being off
*"boolean true"*) xrandr --output HDMI-0 --brightness 0.0;;
# Restore monitor brightness
*"boolean false"*) xrandr --output HDMI-0 --brightness 1.0;;
esac
done

View File

@ -1,4 +0,0 @@
#!/bin/sh
LAUNCHER="c:\\Program Files\\Roberts Space Industries\\RSI Launcher\\RSI Launcher.exe"
WINEPREFIX=/data/starcitizen wine "$LAUNCHER" --use-gl=osmesa

View File

@ -1,12 +0,0 @@
#!/bin/sh
player="spotify"
qdbus org.mpris.MediaPlayer2.$player /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata >/tmp/currentsong 2> /dev/null
artist=$(cat /tmp/currentsong | grep "xesam:artist" | sed 's/.*artist: //')
title=$(cat /tmp/currentsong | grep "xesam:title" | sed 's/.*title: //')
if [ "${artist}" != "" ] && [ "${title}" != "" ]; then
echo ${artist} - ${title}
else
echo "N/A"
fi