From 347ada664d5a2c86ce295257a1920e5f9d8bfe7c Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 3 Apr 2026 18:51:06 +0200 Subject: [PATCH] region selector: repage image after crop --- .../quickshell/ii/modules/common/utils/ScreenshotAction.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dots/.config/quickshell/ii/modules/common/utils/ScreenshotAction.qml b/dots/.config/quickshell/ii/modules/common/utils/ScreenshotAction.qml index 831834bd5..c4eae679f 100644 --- a/dots/.config/quickshell/ii/modules/common/utils/ScreenshotAction.qml +++ b/dots/.config/quickshell/ii/modules/common/utils/ScreenshotAction.qml @@ -32,7 +32,7 @@ Singleton { const rw = Math.round(width); const rh = Math.round(height); const cropBase = `magick ${StringUtils.shellSingleQuoteEscape(screenshotPath)} ` - + `-crop ${rw}x${rh}+${rx}+${ry}` + + `-crop ${rw}x${rh}+${rx}+${ry} +repage` const cropToStdout = `${cropBase} -` const cropInPlace = `${cropBase} '${StringUtils.shellSingleQuoteEscape(screenshotPath)}'` const cleanup = `rm '${StringUtils.shellSingleQuoteEscape(screenshotPath)}'`