#!/bin/zsh dir="$HOME/scripts" selected=$(find "$dir" -maxdepth 1 -type f -printf "%f\n" | wmenu -f "JetBrainsMonoNF 10" -N "#121212" -s "#121212" -S "#7162ac" -M "#121212" -l 5 -i -p "Run script: ") if [[ -n "$selected" ]]; then zsh "$dir/$selected" fi