diff --git a/README.md b/README.md index a57a77e..8588064 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,8 @@ -Scripts -======= +# Scripts Various scripts that I maintain. -# steam-disable-update +## steam-disable-update Completely disable steam updates for a game or app. Usage: `steam-disable-update ` @@ -14,7 +13,7 @@ Caveats to this approach: - I haven't used it in a long time, so I can't guarantee it will work - It might cause other bugs, I haven't tested it extensively -# lyricfetch +## lyricfetch > 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! @@ -22,7 +21,7 @@ Fetches lyrics from Genius using a [Dumb](https://github.com/rramiachraf/dumb) i Currently only supports FLAC files. -# adb-auto-connect +## adb-auto-connect Automatically find and connect to an Android device with Wireless Debugging over the local network. 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,40 +32,48 @@ You'll need to create a file at `~/.config/adb-auto-connect.nuon` with the MAC A ] ``` -# lh-pairall +## lh-pairall Uses lighthouse_console to reset all SteamVR dongles, then put them all into pairing mode. -# auto-benchmark +## auto-benchmark Set up and run a Blender benchmark on the specified device, then automatically compare your results to the results on [Blender Open Data](https://opendata.blender.org/). -# ln-bin +## ln-bin Quickly symlink executable files to `~/.local/bin/` -# yt-rss +## yt-rss Get an RSS feed for the specified YouTube channel. -# motoc-continue -Simply runs `motoc continue`, so it can be used as an Envision plugin. - -# oscavmgr-launch -Slightly modified version of Galister's oscavmgr start script. Launches oscavmgr and VrcAdvert together. - -# toggle-extension +## toggle-extension Provides an easy way to toggle a GNOME extension. Useful for setting up keyboard shortcuts. -# start-service-if-neeeded +## start-service-if-neeeded Starts a systemd service if it is not already started, otherwise do nothing. Useful if you only want to ask for the password when the service actually needs to be started. -# notify-kernel-blu -Notifies you if you're not using [kernel-blu](https://copr.fedorainfracloud.org/coprs/sentry/kernel-blu). -Useful if you have multiple kernels installed. - -# relink +## relink Update symlink targets from an old target directory to a new one Example: If you moved all files in `~/Development/tools` to `~/Applications`, you can update all symlinks in `~/.local/bin` that point to the old location with `relink ~/.local/bin ~/Development/tools ~/Applications` + +## Deprecated & Unmaintained scripts + +### oscavmgr-launch +> DEPRECATED in favor of the [AtomicXR CLI](https://tangled.sh/@matrixfurry.com/atomic-xr) (`axr oscavmgr start `) + +Slightly modified version of Galister's oscavmgr start script. Launches oscavmgr and VrcAdvert together. + +### motoc-continue +> DEPRECATED in favor of [AtomicXR](https://tangled.sh/@matrixfurry.com/atomic-xr) (`axr envision plugins register`) + +Simply runs `motoc continue`, so it can be used as an Envision plugin. + +### notify-blu-kernel +> UNMAINTAINED: I no longer use Fedora + +Notifies you if you're not using [kernel-blu](https://copr.fedorainfracloud.org/coprs/sentry/kernel-blu). +Useful if you have multiple kernels installed. diff --git a/scripts/motoc-continue.nu b/scripts/motoc-continue.nu index 752fd54..87590a2 100755 --- a/scripts/motoc-continue.nu +++ b/scripts/motoc-continue.nu @@ -2,4 +2,7 @@ # SPDX-License-Identifier: AGPL-3.0-only # Copyright (c) 2025 Shiloh Fen +use std log +log warning "This script is deprecated in favor of AtomicXR: https://tangled.sh/@matrixfurry.com/atomic-xr (use `axr envision plugins register`)" + motoc continue diff --git a/scripts/notify-blu-kernel.nu b/scripts/notify-blu-kernel.nu index 72d9395..43f34ba 100755 --- a/scripts/notify-blu-kernel.nu +++ b/scripts/notify-blu-kernel.nu @@ -2,6 +2,9 @@ # SPDX-License-Identifier: AGPL-3.0-only # Copyright (c) 2025 Shiloh Fen +use std log + if not (uname | get kernel-release | str contains "blu.fc") { - 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." + log warning "This script is unmaintained" + 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." } diff --git a/scripts/oscavmgr-launch.sh b/scripts/oscavmgr-launch.sh index 9e1ee7c..c6022e9 100755 --- a/scripts/oscavmgr-launch.sh +++ b/scripts/oscavmgr-launch.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: MIT + +print "WARNING: This script has been deprecated in favor of the AtomicXR CLI: https://tangled.sh/@matrixfurry.com/atomic-xr (use \`axr oscavmgr start \`)" # stop VrcAdvert after OscAvMgr quits trap 'jobs -p | xargs kill' EXIT