From 9ce1022f332d173729a43ee337d18a5437103fd0 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Mon, 28 Nov 2022 13:42:35 +0100 Subject: [PATCH] Replace find with fd. --- dmenu-share | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmenu-share b/dmenu-share index 5bc9142..d6a762a 100755 --- a/dmenu-share +++ b/dmenu-share @@ -2,7 +2,7 @@ . $HOME/.config/dmenu/config -file=$(find $HOME -type f | $DMENU -l 15) +file=$(fd . "$HOME" --type f --hidden --color=never --exclude ".git" | $DMENU -l 15) [ -z "$file" ] && exit if [ "$XDG_SESSION_TYPE" = "wayland" ]; then curl -F "file=@$file" 0x0.st | wl-copy -n