From 46f1bec8fc8d3546cd85e0ced52d0dced55dd77f Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Sun, 30 Aug 2026 17:18:33 +0100 Subject: Updated to reflect breaking changes in latest CoW commit --- .local/bin/screenshot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/screenshot.sh') diff --git a/.local/bin/screenshot.sh b/.local/bin/screenshot.sh index eb8807c..3234a71 100755 --- a/.local/bin/screenshot.sh +++ b/.local/bin/screenshot.sh @@ -14,7 +14,7 @@ case $1 in ;; focused-window) # Take a screenshot of the focused window - geometry=$(moocow winops -I | jq -r '.data.frame | "\(.x),\(.y) \(.width)x\(.height)"') + geometry=$(moocow show window | jq -r '.data | "\(.x),\(.y) \(.width)x\(.height)"') grim -g "$geometry" -t jpeg ~/Pictures/Screenshots/"$(date +%Y-%m-%d_%H-%m-%s)".jpg ;; *) -- cgit v1.3