···6060## ln-bin
6161Quickly symlink executable files to `~/.local/bin/`
62626363+## clean-bin
6464+Quickly remove broken symlinks from `~/.local/bin`
6565+6366## lyricfetch
64676568> 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!
+16
scripts/clean-bin.nu
···11+#!/usr/bin/env nu
22+# SPDX-License-Identifier: AGPL-3.0-only
33+# Copyright (c) 2026 MatrixFurry <matrix@matrixfurry.com>
44+55+# Remove broken symlinks from ~/.local/bin
66+def main [] {
77+ ls -l ~/.local/bin
88+ | where type == symlink
99+ | each {|link|
1010+ if not ($link.target | path exists) {
1111+ print $"Removing ($link.name)"
1212+ rm $link.name
1313+ }
1414+ }
1515+ null
1616+}