diff --git a/install.conf.yaml b/install.conf.yaml index 4266afe..a8da9d7 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -32,7 +32,8 @@ - ~/music - ~/proj - ~/bin - - ~/.desktop + - ~/nondesktop - shell: - [touch ~/dotfiles/location.txt] + - [xdg-user-dirs-update] diff --git a/scripts/mount_earth.sh b/scripts/mount_earth.sh new file mode 100755 index 0000000..d46cac0 --- /dev/null +++ b/scripts/mount_earth.sh @@ -0,0 +1,3 @@ +#!/bin/bash +sshfs -o idmap=user -o transform_symlinks earth:/ ~/earth + diff --git a/scripts/restart_vr.sh b/scripts/restart_vr.sh new file mode 100755 index 0000000..91f089b --- /dev/null +++ b/scripts/restart_vr.sh @@ -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 diff --git a/scripts/vrc-monitor.py b/scripts/vrc-monitor.py index b8a97fa..347e924 100755 --- a/scripts/vrc-monitor.py +++ b/scripts/vrc-monitor.py @@ -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" "" 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 " "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 diff --git a/steam/cvr-launch-options.md b/steam/cvr-launch-options.md new file mode 100644 index 0000000..79c0444 --- /dev/null +++ b/steam/cvr-launch-options.md @@ -0,0 +1 @@ +`$(python3 /home/crispypin/dotfiles/scripts/vrc-monitor.py) & touch /tmp/VRC_RUNNING && %command% --disable-videoplayers && rm /tmp/VRC_RUNNING` \ No newline at end of file diff --git a/user-dirs.dirs b/user-dirs.dirs index 7247802..d16af7f 100644 --- a/user-dirs.dirs +++ b/user-dirs.dirs @@ -5,7 +5,7 @@ # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an # absolute path. No other format is supported. # -XDG_DESKTOP_DIR="$HOME/.desktop" +XDG_DESKTOP_DIR="$HOME/nondesktop" XDG_DOWNLOAD_DIR="$HOME/downloads" XDG_TEMPLATES_DIR="$HOME/.config/templates" XDG_DOCUMENTS_DIR="$HOME/documents" diff --git a/vscodium.json b/vscodium.json index 79f2763..ac106a0 100644 --- a/vscodium.json +++ b/vscodium.json @@ -8,7 +8,6 @@ "files.exclude": { "**/*.meta": true }, - "editor.wordWrap": "on", "editor.quickSuggestionsDelay": 0, "python.autoComplete.addBrackets": true, "editor.suggestSelection": "first", @@ -20,7 +19,7 @@ "liveServer.settings.root": "docs/", "liveServer.settings.donotVerifyTags": true, "editor.insertSpaces": false, - "editor.fontFamily": "sans, mono", + "editor.fontFamily": "sans, \"linja pona\", mono", "editor.minimap.renderCharacters": false, "Lua.telemetry.enable": false, "Lua.workspace.library": [ @@ -41,7 +40,8 @@ "markdown.preview.fontFamily": "sans", "editor.bracketPairColorization.enabled": false, "rust-analyzer.inlayHints.parameterHints.enable": false, - "window.zoomLevel": 1, "rust-analyzer.cargo.buildScripts.enable": true, - "editor.fontLigatures": true + "editor.fontLigatures": true, + "editor.wordWrap": "on", + "window.zoomLevel": 1 } \ No newline at end of file