aboutsummaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2026-08-30 17:18:33 +0100
committerJustine Smithies <justine@smithies.me.uk>2026-08-30 17:18:33 +0100
commit46f1bec8fc8d3546cd85e0ced52d0dced55dd77f (patch)
tree63d63fee1beb569d77f52fa797d3100d1fe8f76e /.local
parent4ec10ae4b26c188fb23044b2976ecb1d853ec89a (diff)
Updated to reflect breaking changes in latest CoW commit
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/screenshot.sh2
1 files changed, 1 insertions, 1 deletions
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
;;
*)