#!/bin/bash
set -euo pipefail

selected=$(find -L "$HOME/.local/bin" -type f -exec basename {} \; | sort | rofi -dmenu -p "Select Script to delete: ")

[[ -z "$selected" ]] && exit

rmscript "$selected"
