diff options
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/screenshot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/screenshot.sh b/.local/bin/screenshot.sh index 2d96a18..e241dd1 100755 --- a/.local/bin/screenshot.sh +++ b/.local/bin/screenshot.sh @@ -17,7 +17,7 @@ case $1 in # Take a screenshot of the focused window # geometry=$(mmsg get focusing-client | jq -r '"\(.x),\(.y) \(.width)x\(.height)"') geometry=$(moocow winops -I | jq -r '.data.frame | "\(.x),\(.y) \(.width)x\(.height)"') - grim -g "$geometry" -t jpeg ~/Pictures/Screenshots/"$(date +%Y-%m-%d_%H-%m-%s)".jpg + grim -g "$geometry" -t jpeg ~/Pictures/Screenshots/"$(date +%Y-%m-%d_%H-%m-%s)".jpg ;; *) # Take a screenshot of the currently focused output and save it into screenshots |
