diff --git a/rofi/.local/share/rofi/finder.sh b/rofi/.local/share/rofi/finder.sh
deleted file mode 100755
index 0e261ca..0000000
--- a/rofi/.local/share/rofi/finder.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env bash
-
-#PUT THIS FILE IN ~/.local/share/rofi/finder.sh
-#USE: rofi  -show find -modi find:~/.local/share/rofi/finder.sh
-if [ ! -z "$@" ]; then
-	QUERY=$@
-	if [[ "$@" == /* ]]; then
-		if [[ "$@" == *\?\? ]]; then
-			coproc (xdg-open "${QUERY%\/* \?\?}" >/dev/null 2>&1)
-			exec 1>&-
-			exit
-		else
-			coproc (xdg-open "$@" >/dev/null 2>&1)
-			exec 1>&-
-			exit
-		fi
-	elif [[ "$@" == \!\!* ]]; then
-		echo "Type your search query to find files"
-	elif [[ "$@" == \?* ]]; then
-		while read -r line; do
-			echo "$line" \?\?
-		done <<<$(fd -t file "${QUERY#\?}" $HOME/Documents 2>&1 | grep -v 'Permission denied\|Input/output error')
-	else
-		fd -t file "${QUERY#!}" $HOME/Documents 2>&1 | grep -v 'Permission denied\|Input/output error'
-	fi
-else
-	echo "Type your search query to find files"
-fi
diff --git a/scripts/.local/share/scripts/finder b/scripts/.local/share/scripts/finder
new file mode 100755
index 0000000..4263434
--- /dev/null
+++ b/scripts/.local/share/scripts/finder
@@ -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")"
diff --git a/sway/.config/sway/config b/sway/.config/sway/config
index 89a3c6b..9108290 100644
--- a/sway/.config/sway/config
+++ b/sway/.config/sway/config
@@ -279,7 +279,7 @@ bindsym Print exec grim
 # slurp + grim to clipboard
 bindsym Shift+Print exec slurp | grim -g - - | wl-copy
 # find PDFs with rofi
-bindsym $mod+f exec rofi -show find -modi find:~/.local/share/rofi/finder.sh
+bindsym $mod+f exec ~/.local/share/scripts/finder
 # power menu
 bindsym $mod+Shift+p mode "$Pause-break"