Various scripts that I maintain
utils scripts
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Nushell 98.0%
Shell 2.0%
54 1 0

Clone this repository

https://tangled.org/matrixfurry.com/scripts https://tangled.org/did:plc:zmjoeu3stwcn44647rhxa44o/scripts
git@tangled.org:matrixfurry.com/scripts git@tangled.org:did:plc:zmjoeu3stwcn44647rhxa44o/scripts

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

Scripts#

Various scripts that I maintain.

rawrsync#

Easily sync or deploy projects over rsync. Intended to somewhat replicate CLion's Deployment feature for use with other IDEs.

Configure with .rawrsync.toml in your project root. For example:

[org-server-23]
user = "username"
address = "org-server-23.tailnet-name.ts.net"
path = "/home/username/deployment/project/" # Destination path on the server

[vr-desktop]
user = "username"
address = "vr-desktop.tailnet-name.ts.net"
path = "/home/username/vr/project"

See --help for usage.

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/

clean-bin#

Quickly remove broken symlinks from ~/.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.