Instantly Snap, Copy, and Paste Screenshots
I’ve been holding a deep secret out on you, my readers. It changed my life, and now it’ll change yours. Want to take a screenshot then paste it as an image?
I just copy pasted the above, with this simple script:
#!/usr/bin/env bash
scrot -s -e 'mv $f ~/Pictures && xclip -selection clipboard -t image/png -i ~/Pictures/$f'
Ask AI for help installing any dependencies.
If you have i3, you can bind it, I bind mine to mod+Shift +p and save it as screen-captue
bindsym --release $mod+Shift+p exec screen-capture
Then, try it out.
Execute
Click
Drag
Click
Paste
The Image will be dropped both into your clipboard and ~/Pictures
That’s it.