~anjan/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Fixed the fullscreen screenshot on sway/wayland, now it asks for the resolution and makes the shot

Details
Message ID
<20240206201635.27378-1-marc@brandisbrandisbrand.com>
DKIM signature
permerror
Download raw message
Patch: +2 -2
---
 scripts/appscripts/sxmo_screenshot.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/appscripts/sxmo_screenshot.sh b/scripts/appscripts/sxmo_screenshot.sh
index 8b41453..64a08f0 100755
--- a/scripts/appscripts/sxmo_screenshot.sh
+++ b/scripts/appscripts/sxmo_screenshot.sh
@@ -21,8 +21,8 @@ sway_screenshot() {
	check_command grim || exit_msg "grim command must be available to take a screenshot."
	check_command slurp || exit_msg "slurp command must be available to make a selection."

	area="$(slurp -o)"
	grim -g "$area" "$1"
	area="$(swaymsg -t get_outputs | jq -r '.[0].rect | "\(.width)x\(.height)"')"
	grim -g "0,0 $area" "$1"
}

xorg_screenshot() {
-- 
2.43.0
Details
Message ID
<CZ16FULNATJU.C84KECL5RGAZ@momi.ca>
In-Reply-To
<20240206201635.27378-1-marc@brandisbrandisbrand.com> (view parent)
DKIM signature
pass
Download raw message
Please send this to the sxmo-devel mailing list:

https://lists.sr.ht/~mil/sxmo-devel

Thank you!
Anjan
-- 
w:] www.momi.ca
pgp:] https://momi.ca/publickey.txt
Reply to thread Export thread (mbox)