my dotz
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 13 lines 335 B view raw
1#!/bin/sh 2 3if [ -n "$1" ]; then 4 scp "$1" trash.j3s.sh:/var/www/trash.j3s.sh/ 5 echo "https://trash.j3s.sh/$1" 6else 7 scrot -s -e 'mv $f /tmp/' 8 for i in $(cd /tmp ; ls *_scrot.png); do 9 scp "/tmp/$i" trash.j3s.sh:/var/www/trash.j3s.sh/ss/ > /dev/null 10 echo "https://trash.j3s.sh/ss/$i" | xclip -sel clip 11 done 12 rm /tmp/*_scrot.png 13fi