Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Screenshot of X11 Window, every Y seconds.
#!/bin/bash
import -window $(xwininfo -root | grep -Po 'Window id: .*? ' | grep -Po '0x.* ') screenshot.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.