Compare commits
4 Commits
5f289995ba
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| c786299e91 | |||
| d9b6d6b3c5 | |||
| 7a23304c9c | |||
| eeecf8df23 |
2
aping.sh
2
aping.sh
@@ -87,7 +87,7 @@ withoutLoop(){
|
|||||||
elif [ $? = "1" ];then
|
elif [ $? = "1" ];then
|
||||||
|
|
||||||
if [ "${play_sound}" = "true" ];then
|
if [ "${play_sound}" = "true" ];then
|
||||||
${sound_player} ${player_opts} ${sound_file} "${sound_message}" &
|
${sound_player} "${player_opts}" "${sound_file}" "${sound_message}" &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,5 +2,9 @@
|
|||||||
|
|
||||||
|
|
||||||
if [ -f /usr/bin/mpv ];then
|
if [ -f /usr/bin/mpv ];then
|
||||||
mpv http://listen.noagendastream.com/noagenda
|
mpv "http://listen.noagendastream.com/noagenda"
|
||||||
|
elif [ -f "/usr/bin/vlc" ];then
|
||||||
|
vlc "http://listen.noagendastream.com/noagenda"
|
||||||
|
else [ -f "/usr/bin/xdg-open" ];then
|
||||||
|
xdg-open "http://listen.noagendastream.com/noagenda"
|
||||||
fi
|
fi
|
||||||
|
|||||||
14
steamloop.sh
Executable file
14
steamloop.sh
Executable file
@@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Running Steam in Wine causes Steam on Linux to lose connection
|
||||||
|
# This makes it hard to use Steam link if Steam has to be closed to reset
|
||||||
|
# This script just reopens Steam on the host so that Steam link can reconnect.
|
||||||
|
|
||||||
|
while true;do
|
||||||
|
|
||||||
|
if [ -z "$(pidof steam)" ];then
|
||||||
|
sleep 10s
|
||||||
|
/usr/bin/steam
|
||||||
|
fi
|
||||||
|
|
||||||
|
done
|
||||||
2
trb.sh
2
trb.sh
@@ -20,7 +20,7 @@ zenity --question --text "Do you want to trim?"
|
|||||||
if [[ $? == 1 ]];then
|
if [[ $? == 1 ]];then
|
||||||
exit
|
exit
|
||||||
else
|
else
|
||||||
notify-send "Trimming..."
|
notify-send -a "FS-Trim" "Trimming..."
|
||||||
echo "Trimming..."
|
echo "Trimming..."
|
||||||
results=$(${su_prompt} /sbin/fstrim -va)
|
results=$(${su_prompt} /sbin/fstrim -va)
|
||||||
notify-send "${results}"
|
notify-send "${results}"
|
||||||
|
|||||||
Reference in New Issue
Block a user