Exit when no file selected.
This commit is contained in:
parent
321f370263
commit
4ad6661c5f
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
file=$(find $HOME -type f | dmenu -l 15)
|
||||
[ -z "$file" ] && exit
|
||||
curl -F "file=@$file" 0x0.st | xclip -selection clipboard
|
||||
notify-send "Dmenu Share" "Ready to share"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue