diff options
author | Ben Harris <ben@tilde.team> | 2018-08-16 19:05:54 -0400 |
---|---|---|
committer | Ben Harris <ben@tilde.team> | 2018-08-16 19:05:54 -0400 |
commit | 677cf422c3151a168ae11b0c7788f7e62a871eb5 (patch) | |
tree | a63459d1125eea5f8ac0e8a8dec2d156cce45e42 /bin | |
parent | f6fcd7ffdda7eb765d1c25a2ff6dc81b93c19c62 (diff) |
start over with vim. add ~/bin
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bin/upload-screenshot | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/bin/upload-screenshot b/bin/bin/upload-screenshot new file mode 100755 index 0000000..021fdc7 --- /dev/null +++ b/bin/bin/upload-screenshot @@ -0,0 +1,9 @@ +#!/bin/bash + +rename 's/ /-/g' ~/Pictures/*.png + +latest=$(ls -Art ~/Pictures | tail -n 1) + +pb "~/Pictures/$latest" | xclip -selection clipboard +notify-send "on yr clipbrd" + |