This commit is contained in:
Never Gude 2026-06-21 00:30:53 +02:00
parent de36385ff2
commit f3ab049a81
7 changed files with 11 additions and 19 deletions

View file

@ -18,7 +18,7 @@ end
# Find files in home directory
function find_file
set file (find ~/Desktop ~/Documents ~/Downloads ~/Pictures ~/Videos -type f | fuzzel --dmenu --width 100 --match-mode=fuzzy)
set file (find ~/Desktop ~/Documents ~/Downloads ~/Pictures ~/Videos -printf "%p\t%f\n" | fuzzel --with-nth 2 --accept-nth 1 --dmenu --match-mode=fuzzy)
if test (xdg-mime query filetype $file) = "application/pdf" && test (menu "PDF" "Ipe") = "Ipe"
ipe $file