8 lines
340 B
Plaintext
8 lines
340 B
Plaintext
|
#!/usr/bin/sh
|
||
|
|
||
|
# Take screenshot w/ selection tools, save to ~/Pictures/Screenshots, and also
|
||
|
# write the image to a temp file (so we can put the image in the clipboard also)
|
||
|
if flameshot gui -r --path ~/Pictures/Screenshots > /tmp/flameshot_screenshot.png; then
|
||
|
xclip -selection clipboard -t image/png < /tmp/flameshot_screenshot.png;
|
||
|
fi
|