Various scripts that I maintain

Scripts#

Various scripts that I maintain.

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:

[
  "ff:ff:ff:ff:ff:ff",
  "aa:aa:aa:aa:aa:aa"
]

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.

steam-disable-update#

Completely disable steam updates for a game or app.

Usage: steam-disable-update <appid> Allow updates: steam-disable-update --revert <appid>

Caveats to this approach:

  • Your "last played" time will never update
  • 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

detect-gpu-issues#

Detect issues with the GPU.

This was created for my own use on a Framework Laptop 16 with an external dock. Sometimes, the external GPU will have issues caused by my hacky m.2 to oculink adapter.

I can't guarantee this will work for you, but it does reliably detect when there is an issue on my system.

homepod-mini-workaround#

See https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3279

ln-bin#

Quickly symlink executable files to ~/.local/bin/

lyricfetch#

NOTE: I reccomend using a lrclib client such as lrcget or Chronograph instead!

Fetches lyrics from Genius using a Dumb instance, and adds them to your music library's metadata.

Currently only supports FLAC files.

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

reset-envision-prefix#

Resets an Envision prefix and the downloaded repos. Useful to work around #65

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.

toggle-extension#

Provides an easy way to toggle a GNOME extension. Useful for setting up keyboard shortcuts.

yt-rss#

Get an RSS feed for the specified YouTube channel.