dmenu-scripts/dmenufilehandler

8 lines
196 B
Plaintext
Raw Normal View History

2021-03-13 18:09:41 +01:00
#!/bin/sh
# feed the script with your directory path
# and it will list all your files and open them
# in your prefered program with xdg-open
find "$1" | dmenu -l 30 | xargs -I {} xdg-open "{}"