oneshot
parent
faad61c92b
commit
28191ab7ff
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
SLEEP="5"
|
SLEEP="5"
|
||||||
DESTDIR=$(xdg-user-dir PICTURES)
|
DESTDIR=$(xdg-user-dir PICTURES)
|
||||||
|
COLUMNS="1"
|
||||||
DATE=$(date +"%Y%m%d-%H%M%S")
|
DATE=$(date +"%Y%m%d-%H%M%S")
|
||||||
eval $(xdotool getdisplaygeometry --shell)
|
eval $(xdotool getdisplaygeometry --shell)
|
||||||
|
|
||||||
|
@ -19,7 +19,9 @@ while [[ "$desk" -lt "$numdesk" ]];
|
||||||
done
|
done
|
||||||
|
|
||||||
cd ${DESTDIR}
|
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
|
rm /tmp/desktop*.png
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue