Various scripts that I maintain

Add warnings for deprecated & unmaintained scripts

Signed-off-by: Shiloh Fen <shiloh@shilohfen.com>

matrixfurry.com 1fb313b5 99d3bbbd

verified
+39 -23
+29 -22
README.md
··· 1 - Scripts 2 - ======= 3 4 Various scripts that I maintain. 5 6 - # steam-disable-update 7 Completely disable steam updates for a game or app. 8 9 Usage: `steam-disable-update <appid>` ··· 14 - I haven't used it in a long time, so I can't guarantee it will work 15 - It might cause other bugs, I haven't tested it extensively 16 17 - # lyricfetch 18 19 > NOTE: I reccomend using a [lrclib](https://lrclib.net/) client such as [lrcget](https://github.com/tranxuanthang/lrcget) or [Chronograph](https://flathub.org/apps/io.github.dzheremi2.lrcmake-gtk) instead! 20 ··· 22 23 Currently only supports FLAC files. 24 25 - # adb-auto-connect 26 Automatically find and connect to an Android device with Wireless Debugging over the local network. 27 28 You'll need to create a file at `~/.config/adb-auto-connect.nuon` with the MAC Addresses you want to search for. For example: ··· 33 ] 34 ``` 35 36 - # lh-pairall 37 Uses lighthouse_console to reset all SteamVR dongles, then put them all into pairing mode. 38 39 - # auto-benchmark 40 Set up and run a Blender benchmark on the specified device, then automatically 41 compare your results to the results on [Blender Open Data](https://opendata.blender.org/). 42 43 - # ln-bin 44 Quickly symlink executable files to `~/.local/bin/` 45 46 - # yt-rss 47 Get an RSS feed for the specified YouTube channel. 48 49 - # motoc-continue 50 - Simply runs `motoc continue`, so it can be used as an Envision plugin. 51 - 52 - # oscavmgr-launch 53 - Slightly modified version of Galister's oscavmgr start script. Launches oscavmgr and VrcAdvert together. 54 - 55 - # toggle-extension 56 Provides an easy way to toggle a GNOME extension. Useful for setting up keyboard shortcuts. 57 58 - # start-service-if-neeeded 59 Starts a systemd service if it is not already started, otherwise do nothing. 60 Useful if you only want to ask for the password when the service actually needs 61 to be started. 62 63 - # notify-kernel-blu 64 - Notifies you if you're not using [kernel-blu](https://copr.fedorainfracloud.org/coprs/sentry/kernel-blu). 65 - Useful if you have multiple kernels installed. 66 - 67 - # relink 68 Update symlink targets from an old target directory to a new one 69 70 Example: If you moved all files in `~/Development/tools` to `~/Applications`, you can update all 71 symlinks in `~/.local/bin` that point to the old location with 72 `relink ~/.local/bin ~/Development/tools ~/Applications`
··· 1 + # Scripts 2 3 Various scripts that I maintain. 4 5 + ## steam-disable-update 6 Completely disable steam updates for a game or app. 7 8 Usage: `steam-disable-update <appid>` ··· 13 - I haven't used it in a long time, so I can't guarantee it will work 14 - It might cause other bugs, I haven't tested it extensively 15 16 + ## lyricfetch 17 18 > NOTE: I reccomend using a [lrclib](https://lrclib.net/) client such as [lrcget](https://github.com/tranxuanthang/lrcget) or [Chronograph](https://flathub.org/apps/io.github.dzheremi2.lrcmake-gtk) instead! 19 ··· 21 22 Currently only supports FLAC files. 23 24 + ## adb-auto-connect 25 Automatically find and connect to an Android device with Wireless Debugging over the local network. 26 27 You'll need to create a file at `~/.config/adb-auto-connect.nuon` with the MAC Addresses you want to search for. For example: ··· 32 ] 33 ``` 34 35 + ## lh-pairall 36 Uses lighthouse_console to reset all SteamVR dongles, then put them all into pairing mode. 37 38 + ## auto-benchmark 39 Set up and run a Blender benchmark on the specified device, then automatically 40 compare your results to the results on [Blender Open Data](https://opendata.blender.org/). 41 42 + ## ln-bin 43 Quickly symlink executable files to `~/.local/bin/` 44 45 + ## yt-rss 46 Get an RSS feed for the specified YouTube channel. 47 48 + ## toggle-extension 49 Provides an easy way to toggle a GNOME extension. Useful for setting up keyboard shortcuts. 50 51 + ## start-service-if-neeeded 52 Starts a systemd service if it is not already started, otherwise do nothing. 53 Useful if you only want to ask for the password when the service actually needs 54 to be started. 55 56 + ## relink 57 Update symlink targets from an old target directory to a new one 58 59 Example: If you moved all files in `~/Development/tools` to `~/Applications`, you can update all 60 symlinks in `~/.local/bin` that point to the old location with 61 `relink ~/.local/bin ~/Development/tools ~/Applications` 62 + 63 + ## Deprecated & Unmaintained scripts 64 + 65 + ### oscavmgr-launch 66 + > DEPRECATED in favor of the [AtomicXR CLI](https://tangled.sh/@matrixfurry.com/atomic-xr) (`axr oscavmgr start <babble|openxr|alvr>`) 67 + 68 + Slightly modified version of Galister's oscavmgr start script. Launches oscavmgr and VrcAdvert together. 69 + 70 + ### motoc-continue 71 + > DEPRECATED in favor of [AtomicXR](https://tangled.sh/@matrixfurry.com/atomic-xr) (`axr envision plugins register`) 72 + 73 + Simply runs `motoc continue`, so it can be used as an Envision plugin. 74 + 75 + ### notify-blu-kernel 76 + > UNMAINTAINED: I no longer use Fedora 77 + 78 + Notifies you if you're not using [kernel-blu](https://copr.fedorainfracloud.org/coprs/sentry/kernel-blu). 79 + Useful if you have multiple kernels installed.
+3
scripts/motoc-continue.nu
··· 2 # SPDX-License-Identifier: AGPL-3.0-only 3 # Copyright (c) 2025 Shiloh Fen <shiloh@shilohfen.com> 4 5 motoc continue
··· 2 # SPDX-License-Identifier: AGPL-3.0-only 3 # Copyright (c) 2025 Shiloh Fen <shiloh@shilohfen.com> 4 5 + use std log 6 + log warning "This script is deprecated in favor of AtomicXR: https://tangled.sh/@matrixfurry.com/atomic-xr (use `axr envision plugins register`)" 7 + 8 motoc continue
+4 -1
scripts/notify-blu-kernel.nu
··· 2 # SPDX-License-Identifier: AGPL-3.0-only 3 # Copyright (c) 2025 Shiloh Fen <shiloh@shilohfen.com> 4 5 if not (uname | get kernel-release | str contains "blu.fc") { 6 - notify-send -u normal -i dialog-warning -a "Kernel Check" "Not using kernel-blu" "Gaming and VR may have slightly degraded performance or not function correctly." 7 }
··· 2 # SPDX-License-Identifier: AGPL-3.0-only 3 # Copyright (c) 2025 Shiloh Fen <shiloh@shilohfen.com> 4 5 + use std log 6 + 7 if not (uname | get kernel-release | str contains "blu.fc") { 8 + log warning "This script is unmaintained" 9 + notify-send -u normal -i dialog-warning -a "Kernel Check" "Not using kernel-blu" "Gaming and VR may have slightly degraded performance or not function correctly." 10 }
+3
scripts/oscavmgr-launch.sh
··· 1 #!/usr/bin/env bash 2 3 # stop VrcAdvert after OscAvMgr quits 4 trap 'jobs -p | xargs kill' EXIT
··· 1 #!/usr/bin/env bash 2 + # SPDX-License-Identifier: MIT 3 + 4 + print "WARNING: This script has been deprecated in favor of the AtomicXR CLI: https://tangled.sh/@matrixfurry.com/atomic-xr (use \`axr oscavmgr start <babble|openxr|alvr>\`)" 5 6 # stop VrcAdvert after OscAvMgr quits 7 trap 'jobs -p | xargs kill' EXIT