Last active
March 9, 2019 01:49
-
-
Save streetturtle/83beabdc4c78e5d92b41ec5866e5072a to your computer and use it in GitHub Desktop.
Make screenshot, pixelate, save.
This file contains 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\ | |
-vf frei0r=pixeliz0r\ | |
-vframes 1\ | |
/tmp/i3lock.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment