From 28191ab7ffda76d3b3878e06d9d00f62b0b4edf4 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Sat, 27 Aug 2022 17:34:00 +0200 Subject: [PATCH] oneshot --- bin/oneshot | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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