Exit when no file selected.
This commit is contained in:
parent
321f370263
commit
4ad6661c5f
@ -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…
Reference in New Issue
Block a user