CodeFaster

CodeFaster

Share this post

CodeFaster
CodeFaster
Instantly Snap, Copy, and Paste Screenshots

Instantly Snap, Copy, and Paste Screenshots

Tyler Adams's avatar
Tyler Adams
Nov 08, 2024
∙ Paid
2

Share this post

CodeFaster
CodeFaster
Instantly Snap, Copy, and Paste Screenshots
Share

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?

CodeFaster is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.

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.

  1. Execute

  2. Click

  3. Drag

  4. Click

  5. Paste

The Image will be dropped both into your clipboard and ~/Pictures

That’s it.

CodeFaster is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Tyler Adams
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share