master
Daniel Napora 2022-08-27 17:34:00 +02:00
parent faad61c92b
commit 28191ab7ff
1 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@
SLEEP="5"
DESTDIR=$(xdg-user-dir PICTURES)
COLUMNS="1"
DATE=$(date +"%Y%m%d-%H%M%S")
eval $(xdotool getdisplaygeometry --shell)
@ -19,7 +19,9 @@ while [[ "$desk" -lt "$numdesk" ]];
done
cd ${DESTDIR}
montage /tmp/desktop*.png -tile 1x${dnum} -geometry ${WIDTH}x${HEIGHT}+0+0 workspaces${DATE}.png
montage /tmp/desktop*.png -tile ${COLUMNS}x${dnum} \
-geometry ${WIDTH}x${HEIGHT}+4+4 workspaces_${DATE}.png
rm /tmp/desktop*.png