Various scripts that I maintain
1# Scripts
2
3Various scripts that I maintain.
4
5## adb-auto-connect
6Automatically find and connect to an Android device with Wireless Debugging over the local network.
7
8You'll need to create a file at `~/.config/adb-auto-connect.nuon` with the MAC Addresses you want to search for. For example:
9```json
10[
11 "ff:ff:ff:ff:ff:ff",
12 "aa:aa:aa:aa:aa:aa"
13]
14```
15
16## steam-disable-update
17Completely disable steam updates for a game or app.
18
19Usage: `steam-disable-update <appid>`
20Allow updates: `steam-disable-update --revert <appid>`
21
22Caveats to this approach:
23- Your "last played" time will never update
24- I haven't used it in a long time, so I can't guarantee it will work
25- It might cause other bugs, I haven't tested it extensively
26
27## lyricfetch
28
29> 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!
30
31Fetches lyrics from Genius using a [Dumb](https://github.com/rramiachraf/dumb) instance, and adds them to your music library's metadata.
32
33Currently only supports FLAC files.
34
35## detect-gpu-issues
36Detect issues with the GPU.
37
38This was created for my own use on a Framework Laptop 16 with an external dock.
39Sometimes, the external GPU will have issues caused by my hacky m.2 to oculink adapter.
40
41I can't guarantee this will work for you, but it does reliably detect when there is an issue on my system.
42
43## lh-pairall
44Uses lighthouse_console to reset all SteamVR dongles, then put them all into pairing mode.
45
46## auto-benchmark
47Set up and run a Blender benchmark on the specified device, then automatically
48compare your results to the results on [Blender Open Data](https://opendata.blender.org/).
49
50## ln-bin
51Quickly symlink executable files to `~/.local/bin/`
52
53## yt-rss
54Get an RSS feed for the specified YouTube channel.
55
56## toggle-extension
57Provides an easy way to toggle a GNOME extension. Useful for setting up keyboard shortcuts.
58
59## start-service-if-neeeded
60Starts a systemd service if it is not already started, otherwise do nothing.
61Useful if you only want to ask for the password when the service actually needs
62to be started.
63
64## relink
65Update symlink targets from an old target directory to a new one
66
67Example: If you moved all files in `~/Development/tools` to `~/Applications`, you can update all
68symlinks in `~/.local/bin` that point to the old location with
69`relink ~/.local/bin ~/Development/tools ~/Applications`
70
71## Deprecated & Unmaintained scripts
72
73### oscavmgr-launch
74> DEPRECATED in favor of the [AtomicXR CLI](https://tangled.sh/@matrixfurry.com/atomic-xr) (`axr oscavmgr start <babble|openxr|alvr>`)
75
76Slightly modified version of Galister's oscavmgr start script. Launches oscavmgr and VrcAdvert together.
77
78### motoc-continue
79> DEPRECATED in favor of [AtomicXR](https://tangled.sh/@matrixfurry.com/atomic-xr) (`axr envision plugins register`)
80
81Simply runs `motoc continue`, so it can be used as an Envision plugin.
82
83### notify-blu-kernel
84> UNMAINTAINED: I no longer use Fedora
85
86Notifies you if you're not using [kernel-blu](https://copr.fedorainfracloud.org/coprs/sentry/kernel-blu).
87Useful if you have multiple kernels installed.