summary refs log tree commit diff
path: root/bin/scrot-upload
blob: 89faeb64a6f4dccf1c6d0ac55e9e4a1481a03921 (plain) (blame)
1
2
3
#!/bin/bash

scrot $@ -e 'scp -q $f ec2.cmcenroe.me:www/ss; mv $f ~/Pictures/screenshots; echo -n "http://ec2.cmcenroe.me/ss/$n" | xclip -selection clipboard; notify-send -i up "Screenshot uploaded" "$n"'