aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/upfile
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/upfile')
-rwxr-xr-x.local/bin/upfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/.local/bin/upfile b/.local/bin/upfile
index 78c0321..fd6cd33 100755
--- a/.local/bin/upfile
+++ b/.local/bin/upfile
@@ -8,6 +8,5 @@ fi
[ -z "$file" ] && exit
-# curl -F"file=@$file" 0x0.st | xclip -sel c
-curl -F"file=@$file" 0.vern.cc | xclip -sel c
-notify-send "The url has been copied to your clipboard. $(xclip -sel c -o)"
+curl -F"file=@$file" 0x0.st | wl-copy
+notify-send "The url has been copied to your clipboard. $(wl-paste)"