From ca87965d92c46b3b39e1e5a54851ef5d7e4886d6 Mon Sep 17 00:00:00 2001 From: Leaced Date: Fri, 24 Mar 2023 11:33:13 +0100 Subject: [PATCH] Update screenshot.sh --- .config/sway/screenshot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/sway/screenshot.sh b/.config/sway/screenshot.sh index e6dcf81..b46b4a8 100644 --- a/.config/sway/screenshot.sh +++ b/.config/sway/screenshot.sh @@ -10,7 +10,7 @@ all) #Screenshot of all outputs focus) # Screenshot of focused window geometry="$( - swaymsg -p -t get_tree | + swaymsg -t get_tree | grep -A 8 \"focused\"\:\ true | grep -o "[0-9]*" | awk '