diff --git a/bin/oneshot b/bin/oneshot index f328a66..4a4e65a 100755 --- a/bin/oneshot +++ b/bin/oneshot @@ -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