diff options
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" + |