aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/screenrecord.sh
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2026-08-30 22:53:40 +0100
committerJustine Smithies <justine@smithies.me.uk>2026-08-30 22:53:40 +0100
commit6a91c6e6d96b009385570301250bd406c37e3caa (patch)
treed53a9b6c1ad5c3a4acf5d09a86b29b2b490c7564 /.local/bin/screenrecord.sh
parent46f1bec8fc8d3546cd85e0ced52d0dced55dd77f (diff)
Updated to reflect changes in CoW commands
Diffstat (limited to '.local/bin/screenrecord.sh')
-rwxr-xr-x.local/bin/screenrecord.sh2
1 files changed, 1 insertions, 1 deletions
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
;;