From 6a91c6e6d96b009385570301250bd406c37e3caa Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Sun, 30 Aug 2026 22:53:40 +0100 Subject: Updated to reflect changes in CoW commands --- .local/bin/screenrecord.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin') diff --git a/.local/bin/screenrecord.sh b/.local/bin/screenrecord.sh index 42af5d1..24ffdb4 100755 --- a/.local/bin/screenrecord.sh +++ b/.local/bin/screenrecord.sh @@ -10,7 +10,7 @@ case $1 in ;; focused-window) # Record 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)"') echo "$geometry" wf-recorder -g "$geometry" -f ~/Videos/"$(date +%Y-%m-%d_%H-%m-%s)".mkv ;; -- cgit v1.3