mirror of https://github.com/vinc/moros.git
Add screenshot script
This commit is contained in:
parent
cd47755edd
commit
393ed0f14e
|
@ -0,0 +1,8 @@
|
|||
if [ $# -eq 0 ]; then
|
||||
echo "Usage: screenshot.sh <name>"
|
||||
exit 1
|
||||
fi
|
||||
nc -N 127.0.0.1 7777 <<< "screendump $1.ppm"
|
||||
convert "$1.ppm" "$1.png"
|
||||
optipng "$1.png"
|
||||
feh "$1.png"
|
Loading…
Reference in New Issue