summaryrefslogtreecommitdiff
path: root/lcl-find
blob: b89adbacf15db8ef4bf2178833d01a1547356745 (plain)
1
2
3
4
5
#! /bin/sh

selected="$(find ~/Archive -type d \( -name node_modules -o -name .git \) -prune -o \
                           -type f -name '*' -print | rofi -dmenu -i)"
[ -f "$selected" ] && setsid -f xdg-open "$selected" > /dev/null 2>&1