Last active
March 9, 2019 01:48
-
-
Save streetturtle/5c0f034fd4fef4523d80f222cfffbebc to your computer and use it in GitHub Desktop.
Make screenshot, blur it and save - very fast
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
ffmpeg -loglevel panic\ | |
-f x11grab\ | |
-video_size $(xdpyinfo | grep dimensions | sed -r 's/^[^0-9]*([0-9]+x[0-9]+).*$/\1/')\ | |
-y -i :0.0\ | |
-filter_complex "boxblur=9"\ | |
-vframes 1\ | |
/tmp/i3lock.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment