Rewrite rofi finder script using ripgrep
This commit is contained in:
5
scripts/.local/share/scripts/finder
Executable file
5
scripts/.local/share/scripts/finder
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
search_directory=~/Documents
|
||||
|
||||
xdg-open "$(rg --no-messages --files $search_directory -g "{*.pdf}" | rofi -threads 0 -dmenu -sort -sorting-method fzf -i -p "find")"
|
||||
Reference in New Issue
Block a user