dotfiles/.local/bin/screenshot-gui

8 lines
340 B
Plaintext
Raw Normal View History

2021-03-04 01:44:01 +00:00
#!/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