removing unused scripts
This commit is contained in:
parent
9366385324
commit
af7e14bcaf
5 changed files with 0 additions and 56 deletions
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
/usr/bin/rescrobbled &
|
||||
/usr/bin/audacious
|
||||
kill -9 $(pgrep -f rescrobbled)
|
||||
exit
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
12
common/song
12
common/song
|
@ -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
|
Loading…
Reference in a new issue