Replace find with fd.
This commit is contained in:
parent
ad858aa740
commit
9ce1022f33
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user