From 666ba4e5d9e37737e9e114e9851ac130a69120ec Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 18 Jan 2024 22:14:46 +0100 Subject: [PATCH] Simplify search pattern for file finder script --- scripts/.local/share/scripts/finder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/.local/share/scripts/finder b/scripts/.local/share/scripts/finder index 1441417..c156d4c 100755 --- a/scripts/.local/share/scripts/finder +++ b/scripts/.local/share/scripts/finder @@ -2,5 +2,5 @@ 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")"