Replace find with fd.
This commit is contained in:
parent
ad858aa740
commit
9ce1022f33
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue