Files
scripts-bash/waybar/buscar_archivos.sh
2026-03-30 15:48:25 -06:00

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