From e2d571999395829db7a908182637cfce5b063d9c Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Thu, 6 Aug 2026 19:02:56 +0100 Subject: Updated to work with Cow ( FVWM for Wayland ). --- .local/bin/screenshot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/screenshot.sh b/.local/bin/screenshot.sh index 2d96a18..e241dd1 100755 --- a/.local/bin/screenshot.sh +++ b/.local/bin/screenshot.sh @@ -17,7 +17,7 @@ case $1 in # Take a screenshot of the focused window # geometry=$(mmsg get focusing-client | jq -r '"\(.x),\(.y) \(.width)x\(.height)"') geometry=$(moocow winops -I | jq -r '.data.frame | "\(.x),\(.y) \(.width)x\(.height)"') - grim -g "$geometry" -t jpeg ~/Pictures/Screenshots/"$(date +%Y-%m-%d_%H-%m-%s)".jpg + grim -g "$geometry" -t jpeg ~/Pictures/Screenshots/"$(date +%Y-%m-%d_%H-%m-%s)".jpg ;; *) # Take a screenshot of the currently focused output and save it into screenshots -- cgit v1.3