diff options
Diffstat (limited to '.local')
| -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 ;; |
