Last active
November 10, 2018 23:43
-
-
Save Mohitsharma44/f2f416349472fefe031e1c2a7f177f00 to your computer and use it in GitHub Desktop.
Running hack on Client Pis (taking screenshot)
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
| #!/bin/bash | |
| export DISPLAY=:0 | |
| raspi2png --pngname /run/user/1000/snapshot.png | |
| feh --fullscreen --hide-pointer /run/user/1000/snapshot.png & | |
| sleep 1 | |
| pkill -9 pwom & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment