Add word and excel file search to finder script

This commit is contained in:
coolneng 2021-05-17 17:56:18 +02:00
parent a11c487a1c
commit f4b04b09e0
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 1 deletions

View File

@ -2,4 +2,5 @@
search_directory=~/Documents
xdg-open "$(rg --no-messages --files $search_directory -g "{*.pdf}" | rofi -threads 0 -dmenu -sort -sorting-method fzf -i -p "find")"
xdg-open "$(rg --no-messages --files $search_directory -g "{*.pdf}" -g "{*.doc[x]}" -g "{*.xls[x]}" |
rofi -threads 0 -dmenu -sort -sorting-method fzf -i -p "find")"