13 lines
287 B
Bash
Executable File
13 lines
287 B
Bash
Executable File
#!/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
|
|
|