Gast commit!

This commit is contained in:
2026-02-10 19:01:19 +08:00
commit 345f628a8a
3074 changed files with 278037 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
n1=$1
n2=$2
if [ -z "$1" ]
then
n1="/home/dev/Pictures"
n2="Screenshot"-`date +%Y-%m-%d-%H-%M-%S`
fi
echo $n1
echo $n2
adb shell screencap -p /sdcard/screen.png
adb pull /sdcard/screen.png "$n1/$n2.png"
adb shell rm /sdcard/screen.png
cp "$n1/$n2.png" "$n1/$n2.png"
cd $n1
gimp -n "$n1/$n2.png"