diff options
author | shmibs <shmibs@gmail.com> | 2014-02-11 20:50:13 -0700 |
---|---|---|
committer | shmibs <shmibs@gmail.com> | 2014-02-11 20:50:13 -0700 |
commit | 5825e884b80beda1a77234b137fe3a39263ac215 (patch) | |
tree | dc6d977e206a71106ef17b0bdd242a0a2dfcadeb /.ftjerm/1/ssh.sh | |
parent | 597d87abf48838c7cbe27d71aa15943ba90840a4 (diff) | |
download | dotfiles-5825e884b80beda1a77234b137fe3a39263ac215.tar.gz |
removed dropdowns
herbstluftwm doesn't do floating, so dropdowns
don't work, and i was getting fed up with not
having mouseless text/url yanking
Diffstat (limited to '.ftjerm/1/ssh.sh')
-rwxr-xr-x | .ftjerm/1/ssh.sh | 94 |
1 files changed, 0 insertions, 94 deletions
diff --git a/.ftjerm/1/ssh.sh b/.ftjerm/1/ssh.sh deleted file mode 100755 index 002560c..0000000 --- a/.ftjerm/1/ssh.sh +++ /dev/null @@ -1,94 +0,0 @@ -#!/bin/bash -input="" -filename="" -temp="" -action="" -destination="" -sleep .125s - -cd /home/shmibs/.ftjerm/1/commands - -while IFS="" read -r -e -d $'\n' -p "ssh: " -a input; do - history -s "$input" - - IFS=" " - input=($input) - - if [ -n "$input" ]; then - - if [ "${input[0]}" == "send" ]; then - destination="" - if [ "${input[1]}" == "general" ]; then - destination="gamarti6@general.asu.edu:/afs/asu.edu/users/g/a/m/gamarti6/" - fi - - if [ "${input[1]}" == "withg" ]; then - destination="shmibs@withg.org:/home/shmibs/" - fi - - if [ "${input[1]}" == "saguaro" ]; then - destination="gamarti6@saguaro.fulton.asu.edu:/home/gamarti6/" - fi - - if [ -n "$destination" ]; then - cd ~ - read -r -e -d $'\n' -p "~/" -a filename - temp=`basename $filename` - scp -r '/home/shmibs/$filename' '$destination$temp' - cd /home/shmibs/.ftjerm/1/commands - - fi - fi - - if [ "$input" == "sendp" ]; then - cd ~ - read -r -e -d $'\n' -p "~/" -a filename - cd /home/shmibs/.ftjerm/1/commands - temp=`basename $filename` - scp -r /home/shmibs/$filename shmibs@withg.org:/home/shmibs/www/$temp - echo "http://withg.org/shmibs/$temp" | xclip -selection clipboard - fi - - if [ "$input" == "get" ]; then - cd ~ - read -r -e -d $'\n' -p "~/" -a filename - cd /home/shmibs/.ftjerm/1/commands - temp=`basename $filename` - scp -r shmibs@withg.org:~/$filename ~/Desktop/$temp - fi - - if [ "$input" == "getp" ]; then - cd ~ - read -r -e -d $'\n' -p "~/www/" -a filename - cd /home/shmibs/.ftjerm/1/commands - temp=`basename $filename` - scp -r shmibs@withg.org:/home/shimbs/www/$filename ~/Desktop/$temp - fi - - if [ "${input[0]}" == "connect" ]; then - if [ "${input[2]}" != "-X" ]; then - unset ${input[2]} - fi - - destination="" - - if [ "${input[1]}" == "general" ]; then - destination=gamarti6@general.asu.edu - fi - - if [ "${input[1]}" == "withg" ]; then - destination=shmibs@withg.org - fi - - if [ "${input[1]}" == "saguaro" ]; then - destination=gamarti6@saguaro.fulton.asu.edu - fi - - if [ "$destination" != "" ]; then - ssh ${input[2]} $destination - fi - fi - - fi - -done |