small pixel drawing of a pufferfish dotfiles

add up
j3s j3s@c3f.net
Mon, 07 Sep 2020 15:06:25 -0500
commit

2bc9ce05f3871047e91a6e6e4859d0a36ec15811

parent

568d172a808b764a42263480389e2654733101e6

1 files changed, 7 insertions(+), 2 deletions(-)

jump to
M bin/upbin/up

@@ -2,7 +2,12 @@ #!/bin/sh

if [ -n "$1" ]; then scp "$1" trash.j3s.sh:/var/www/trash.j3s.sh/ - echo "https://trash.j3s.sh/$1" + echo "https://trash.j3s.sh/$1" | xclip -sel clip else - echo "spply a file dumbass" + scrot -s -e 'mv $f /tmp/' + for i in $(cd /tmp ; ls *_scrot.png); do + scp "/tmp/$i" trash.j3s.sh:/var/www/trash.j3s.sh/ss/ > /dev/null + echo "https://trash.j3s.sh/ss/$i" | xclip -sel clip + done + rm /tmp/*_scrot.png fi