diff options
| author | Justine Smithies <justine@smithies.me.uk> | 2026-08-30 22:53:40 +0100 |
|---|---|---|
| committer | Justine Smithies <justine@smithies.me.uk> | 2026-08-30 22:53:40 +0100 |
| commit | 6a91c6e6d96b009385570301250bd406c37e3caa (patch) | |
| tree | d53a9b6c1ad5c3a4acf5d09a86b29b2b490c7564 /.local/bin/screenrecord.sh | |
| parent | 46f1bec8fc8d3546cd85e0ced52d0dced55dd77f (diff) | |
Updated to reflect changes in CoW commands
Diffstat (limited to '.local/bin/screenrecord.sh')
| -rwxr-xr-x | .local/bin/screenrecord.sh | 2 |
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 ;; |
