Simplify search pattern for file finder script
This commit is contained in:
parent
1129dcabb0
commit
666ba4e5d9
|
@ -2,5 +2,5 @@
|
||||||
|
|
||||||
search_directory=~/Documents
|
search_directory=~/Documents
|
||||||
|
|
||||||
xdg-open "$(rg --no-messages --no-ignore --files $search_directory -g "{*.pdf}" -g "{*.doc[x]}" -g "{*.xls[x]}" -g "{*.ppt[x]}" |
|
xdg-open "$(rg --no-messages --no-ignore --files $search_directory -g "*.{pdf,docx,doc,xlsx,xls,pptx,ppt}" |
|
||||||
rofi -threads 0 -dmenu -sort -sorting-method fzf -i -p "find")"
|
rofi -threads 0 -dmenu -sort -sorting-method fzf -i -p "find")"
|
||||||
|
|
Loading…
Reference in New Issue