This commit is contained in:
Crispy 2022-08-13 22:31:19 +02:00
parent 3b9ecafd9d
commit 397c8b8d8b
7 changed files with 23 additions and 9 deletions

View file

@ -32,7 +32,8 @@
- ~/music - ~/music
- ~/proj - ~/proj
- ~/bin - ~/bin
- ~/.desktop - ~/nondesktop
- shell: - shell:
- [touch ~/dotfiles/location.txt] - [touch ~/dotfiles/location.txt]
- [xdg-user-dirs-update]

3
scripts/mount_earth.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
sshfs -o idmap=user -o transform_symlinks earth:/ ~/earth

7
scripts/restart_vr.sh Executable file
View 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

View file

@ -2,11 +2,13 @@
import time import time
import os import os
# exit()
def notify_fail(): 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(): 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" STATUSFILE = "/tmp/VRC_RUNNING"
@ -25,7 +27,7 @@ else:
## restart steam ## restart steam
os.system("killall vrmonitor") os.system("killall vrmonitor")
time.sleep(2) time.sleep(5)
# start steamvr # start steamvr
os.system("steam steam://rungameid/250820") os.system("steam steam://rungameid/250820")
# start vrchat # start vrchat

View file

@ -0,0 +1 @@
`$(python3 /home/crispypin/dotfiles/scripts/vrc-monitor.py) & touch /tmp/VRC_RUNNING && %command% --disable-videoplayers && rm /tmp/VRC_RUNNING`

View file

@ -5,7 +5,7 @@
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported. # absolute path. No other format is supported.
# #
XDG_DESKTOP_DIR="$HOME/.desktop" XDG_DESKTOP_DIR="$HOME/nondesktop"
XDG_DOWNLOAD_DIR="$HOME/downloads" XDG_DOWNLOAD_DIR="$HOME/downloads"
XDG_TEMPLATES_DIR="$HOME/.config/templates" XDG_TEMPLATES_DIR="$HOME/.config/templates"
XDG_DOCUMENTS_DIR="$HOME/documents" XDG_DOCUMENTS_DIR="$HOME/documents"

View file

@ -8,7 +8,6 @@
"files.exclude": { "files.exclude": {
"**/*.meta": true "**/*.meta": true
}, },
"editor.wordWrap": "on",
"editor.quickSuggestionsDelay": 0, "editor.quickSuggestionsDelay": 0,
"python.autoComplete.addBrackets": true, "python.autoComplete.addBrackets": true,
"editor.suggestSelection": "first", "editor.suggestSelection": "first",
@ -20,7 +19,7 @@
"liveServer.settings.root": "docs/", "liveServer.settings.root": "docs/",
"liveServer.settings.donotVerifyTags": true, "liveServer.settings.donotVerifyTags": true,
"editor.insertSpaces": false, "editor.insertSpaces": false,
"editor.fontFamily": "sans, mono", "editor.fontFamily": "sans, \"linja pona\", mono",
"editor.minimap.renderCharacters": false, "editor.minimap.renderCharacters": false,
"Lua.telemetry.enable": false, "Lua.telemetry.enable": false,
"Lua.workspace.library": [ "Lua.workspace.library": [
@ -41,7 +40,8 @@
"markdown.preview.fontFamily": "sans", "markdown.preview.fontFamily": "sans",
"editor.bracketPairColorization.enabled": false, "editor.bracketPairColorization.enabled": false,
"rust-analyzer.inlayHints.parameterHints.enable": false, "rust-analyzer.inlayHints.parameterHints.enable": false,
"window.zoomLevel": 1,
"rust-analyzer.cargo.buildScripts.enable": true, "rust-analyzer.cargo.buildScripts.enable": true,
"editor.fontLigatures": true "editor.fontLigatures": true,
"editor.wordWrap": "on",
"window.zoomLevel": 1
} }