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## auto-benchmark
17Set up and run a Blender benchmark on the specified device, then automatically
18compare your results to the results on [Blender Open Data](https://opendata.blender.org/).
19
20## steam-disable-update
21Completely disable steam updates for a game or app.
22
23Usage: `steam-disable-update <appid>`
24Allow updates: `steam-disable-update --revert <appid>`
25
26Caveats to this approach:
27- Your "last played" time will never update
28- I haven't used it in a long time, so I can't guarantee it will work
29- It might cause other bugs, I haven't tested it extensively
30
31## detect-gpu-issues
32Detect issues with the GPU.
33
34This was created for my own use on a Framework Laptop 16 with an external dock.
35Sometimes, the external GPU will have issues caused by my hacky m.2 to oculink adapter.
36
37I can't guarantee this will work for you, but it does reliably detect when there is an issue on my system.
38
39## homepod-mini-workaround
40See https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3279
41
42## ln-bin
43Quickly symlink executable files to `~/.local/bin/`
44
45## lyricfetch
46
47> 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!
48
49Fetches lyrics from Genius using a [Dumb](https://github.com/rramiachraf/dumb) instance, and adds them to your music library's metadata.
50
51Currently only supports FLAC files.
52
53## relink
54Update symlink targets from an old target directory to a new one
55
56Example: If you moved all files in `~/Development/tools` to `~/Applications`, you can update all
57symlinks in `~/.local/bin` that point to the old location with
58`relink ~/.local/bin ~/Development/tools ~/Applications`
59
60## reset-envision-prefix
61Resets an Envision prefix and the downloaded repos. Useful to work around [#65](https://gitlab.com/gabmus/envision/-/issues/65)
62
63## start-service-if-neeeded
64Starts a systemd service if it is not already started, otherwise do nothing.
65Useful if you only want to ask for the password when the service actually needs
66to be started.
67
68## toggle-extension
69Provides an easy way to toggle a GNOME extension. Useful for setting up keyboard shortcuts.
70
71## yt-rss
72Get an RSS feed for the specified YouTube channel.