diff options
author | shmibs <shmibs@gmail.com> | 2014-04-26 23:56:24 -0700 |
---|---|---|
committer | shmibs <shmibs@gmail.com> | 2014-04-26 23:56:24 -0700 |
commit | 6ad6dc3e7002415f59e514794fad2726e25ddc62 (patch) | |
tree | 7c4a890b3717ab4b2e3b9d7daea0afb6df9743ea /.config/sxiv/exec/key-handler | |
parent | dbc8bfc9cc6f878469db90b159419b7bb476bd94 (diff) | |
download | dotfiles-6ad6dc3e7002415f59e514794fad2726e25ddc62.tar.gz |
changed theme
Diffstat (limited to '.config/sxiv/exec/key-handler')
-rwxr-xr-x | .config/sxiv/exec/key-handler | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler index 50dcfc7..6dbf6b6 100755 --- a/.config/sxiv/exec/key-handler +++ b/.config/sxiv/exec/key-handler @@ -11,4 +11,18 @@ case "$1" in rm "$2" ;; "g") gimp "$2" & ;; +"s") + + scp "$2" shmibbles.me:/srv/http/tmp/ + echo "http://shmibbles.me/tmp/$(basename $2)" | xclip -i -selection clipboard + echo "http://shmibbles.me/tmp/$(basename $2)" | xclip -i -selection primary + notify-send "uploaded $(basename $2) to /tmp/" + ;; +"i") + scp "$2" shmibbles.me:/srv/http/img/ + echo "http://shmibbles.me/img/$(basename $2)" | xclip -i -selection clipboard + echo "http://shmibbles.me/img/$(basename $2)" | xclip -i -selection primary + notify-send "uploaded $(basename $2) to /img/" + ;; + esac |