Updates.
This commit is contained in:
parent
f999944f1a
commit
41754e8ad1
3 changed files with 5 additions and 5 deletions
|
@ -5,8 +5,8 @@
|
|||
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
|
||||
curl -F "file=@$file" "https://upfast.cronyakatsuki.xyz" | wl-copy -n
|
||||
else
|
||||
curl -F "file=@$file" 0x0.st | xclip -selection clipboard
|
||||
curl -F "file=@$file" "https://upfast.cronyakatsuki.xyz" | xclip -selection clipboard
|
||||
fi
|
||||
notify-send "Dmenu Share" "Ready to share"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue