aboutsummaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorshmibs <shmibs@gmail.com>2015-07-24 17:19:29 -0700
committershmibs <shmibs@gmail.com>2015-07-24 17:19:29 -0700
commit74495ab4c2aff7dc618b021990ce098dafbd22ad (patch)
treef6bfe1576caac08cd760a1eda6828b264383d3d1 /.config
parent94c7d964e1a52507fdf36b364c6cf8bd50c7bf47 (diff)
downloaddotfiles-74495ab4c2aff7dc618b021990ce098dafbd22ad.tar.gz
ACTUALLY fix send (...i hope?)
Diffstat (limited to '.config')
-rwxr-xr-x.config/sxiv/exec/key-handler2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler
index b388078..aac647e 100755
--- a/.config/sxiv/exec/key-handler
+++ b/.config/sxiv/exec/key-handler
@@ -18,7 +18,7 @@ do
if [[ $? -ne 0 ]]; then
notify-send "uploading $(basename $file) to /tmp/ failed"
else
- ssh shmibbles.me "chmod o+r 'http/tmp/$file'"
+ ssh shmibbles.me "chmod o+r 'http/tmp/$(basename $file)'"
name=$(echo "http://shmibbles.me/tmp/$(basename $file)" | sed 's/ /%20/g')
echo "$name" | tr -d '\n' | xclip -i -selection clipboard
echo "$name" | tr -d '\n' | xclip -i -selection primary