#!/bin/bash # Puedes usar locate, find o fd aquí file=$(fd . ~/Documentos ~/Descargas ~/Proyectos \ --type f --hidden --exclude .git 2>/dev/null | \ wofi --dmenu --prompt "Buscar archivo") # Si se seleccionó algo, ábrelo if [[ -n "$file" ]]; then xdg-open "$file" & fi