carnager / teiler

Little script for screenshots and screencasts utilizing rofi, maim, ffmpeg
https://carnager.github.io/teiler/
GNU General Public License v3.0
354 stars 26 forks source link

screenshot is a bit slow #36

Closed amosbird closed 7 years ago

amosbird commented 7 years ago

When taking a screenshot with rectangle selection, I offer quickly switch to another window and paste it. However, the resulting screenshot sometimes is taken from the new window that I switch to.

carnager commented 7 years ago

hmm, just tried it. ran teiler --quick image area, drew a rectangle and instantly switched workspace. couldnt manage to switch fast enough for it to screenshot the new workspace...

carnager commented 7 years ago

for completeness: This is the code that it runs: maim $cursor ${rect_border} ${rect_color} -s "${img_path}/${3}";

I set no delay whatsoever

amosbird commented 7 years ago

@carnager well it's not always reproducable. I've encountered a bunch of times though, mainly when trying to paste a screenshot url into irc and people saying wrong url ...

carnager commented 7 years ago

anyway, since all i do is call maim, I don't think this is fixable in teiler.