diff options
| author | Justine Smithies <justine@smithies.me.uk> | 2026-06-13 12:01:04 +0100 |
|---|---|---|
| committer | Justine Smithies <justine@smithies.me.uk> | 2026-06-13 12:01:04 +0100 |
| commit | 2be648b5e7921aca0b4b6ea5a64ed1dad6c96fe9 (patch) | |
| tree | ed1b7dc07c5f0d110997fb6b3e8c89769800e0ac /.local/bin/screenshot.sh | |
| parent | 2f0daae42bb3fb3ff9984c75dabaff6880bc7c60 (diff) | |
Fixed spacing issue on focused window function
Diffstat (limited to '.local/bin/screenshot.sh')
| -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 a11a89b..b2cc69b 100755 --- a/.local/bin/screenshot.sh +++ b/.local/bin/screenshot.sh @@ -14,7 +14,7 @@ case $1 in ;; focused-window) # Take a screenshot of the focused window - geometry=$(mmsg get focusing-client | jq -r '"\(.x),\(.y) \(.width)x\(.height)"') + geometry=$(mmsg get focusing-client | jq -r '"\(.x),\(.y) \(.width)x\(.height)"') grim -g "$geometry" -t jpeg ~/Pictures/Screenshots/"$(date +%Y-%m-%d_%H-%m-%s)".jpg ;; *) |
