first commit
This commit is contained in:
12
waybar/buscar_archivos.sh
Executable file
12
waybar/buscar_archivos.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/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
|
||||
|
||||
Reference in New Issue
Block a user