diff --git a/scripts/vrc-compressor.py b/scripts/vrc-compressor.py index 1b48e3d..ae3e581 100755 --- a/scripts/vrc-compressor.py +++ b/scripts/vrc-compressor.py @@ -16,7 +16,6 @@ def delay(seconds=30): time.sleep(0.1) def scan(): - print("scanning") date = datetime.datetime.now() month = f"{date.year}-{date.month:02d}/" path = ROOT_DIR + month @@ -29,7 +28,9 @@ def scan(): # input(f) call(f"convert {f} temp.{f}", cwd=path, shell=True) call(f"mv temp.{f} {f}", cwd=path, shell=True) + print(f"compressed {f}") PROCESSED.append(f) + print("done") while True: scan() diff --git a/scripts/vrc-monitor.py b/scripts/vrc-monitor.py index 6d1b52b..b8a97fa 100755 --- a/scripts/vrc-monitor.py +++ b/scripts/vrc-monitor.py @@ -28,6 +28,6 @@ os.system("killall vrmonitor") time.sleep(2) # start steamvr os.system("steam steam://rungameid/250820") -time.sleep(7) # start vrchat -os.system("steam steam://rungameid/438100") +# time.sleep(7) +# os.system("steam steam://rungameid/438100") diff --git a/steam/vrchat-launch-options.md b/steam/vrchat-launch-options.md new file mode 100644 index 0000000..42b5fc5 --- /dev/null +++ b/steam/vrchat-launch-options.md @@ -0,0 +1,7 @@ +# vrchat launch options + +## using script from this repo: +`$(python3 /home/crispypin/dotfiles/scripts/vrc-monitor.py) & touch /tmp/VRC_RUNNING && PROTON_LOG=1 PROTON_LOG_DIR=/tmp %command% --melonloader.hideconsole && rm /tmp/VRC_RUNNING` + +## simple standalone: +`$(sleep 150 && notify-send "Gaming time?" "VRChat was launched 150s ago" --icon /home/crispypin/pictures/emotes/screech.gif) & PROTON_LOG=1 PROTON_LOG_DIR=/tmp %command% --melonloader.hideconsole` diff --git a/steam/vrchat-launch-options.txt b/steam/vrchat-launch-options.txt deleted file mode 100644 index a9cfd75..0000000 --- a/steam/vrchat-launch-options.txt +++ /dev/null @@ -1,5 +0,0 @@ -# uses script from this repo -$(python3 /home/crispypin/dotfiles/scripts/vrc-monitor.py) & touch /tmp/VRC_RUNNING && PROTON_LOG=1 PROTON_LOG_DIR=/tmp %command% --melonloader.hideconsole && rm /tmp/VRC_RUNNING - -# simple, standalone: -$(sleep 150 && notify-send "Gaming time?" "VRChat was launched 150s ago" --icon /home/crispypin/pictures/emotes/screech.gif) & PROTON_LOG=1 PROTON_LOG_DIR=/tmp %command% --melonloader.hideconsole