changes
This commit is contained in:
parent
3b9ecafd9d
commit
397c8b8d8b
7 changed files with 23 additions and 9 deletions
3
scripts/mount_earth.sh
Executable file
3
scripts/mount_earth.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
sshfs -o idmap=user -o transform_symlinks earth:/ ~/earth
|
||||
|
7
scripts/restart_vr.sh
Executable file
7
scripts/restart_vr.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
# restarts steamvr
|
||||
killall vrmonitor
|
||||
sleep 5
|
||||
RADV_DEBUG=zerovram steam steam://rungameid/250820
|
||||
sleep 4
|
||||
./proj/godot/ovr-utils/builds/linux/ovr-utils.x86_64
|
|
@ -2,11 +2,13 @@
|
|||
import time
|
||||
import os
|
||||
|
||||
# exit()
|
||||
|
||||
def notify_fail():
|
||||
os.system('notify-send "Restarting SteamVR" "VRChat died again :(" --icon /home/crispypin/pictures/emotes/screech.gif')
|
||||
os.system('notify-send "Restarting SteamVR" "<VR game>" died again :(" --icon /home/crispypin/pictures/emotes/screech.gif')
|
||||
|
||||
def notify_ok():
|
||||
os.system('notify-send "Go play VRChat" "It stayed open for 150s" --icon /home/crispypin/pictures/emotes/frogchamp.png')
|
||||
os.system('notify-send "Go play <VR game>" "It stayed open for 150s" --icon /home/crispypin/pictures/emotes/frogchamp.png')
|
||||
|
||||
STATUSFILE = "/tmp/VRC_RUNNING"
|
||||
|
||||
|
@ -25,7 +27,7 @@ else:
|
|||
|
||||
## restart steam
|
||||
os.system("killall vrmonitor")
|
||||
time.sleep(2)
|
||||
time.sleep(5)
|
||||
# start steamvr
|
||||
os.system("steam steam://rungameid/250820")
|
||||
# start vrchat
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue