aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/screenshot.sh
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2026-06-13 11:58:56 +0100
committerJustine Smithies <justine@smithies.me.uk>2026-06-13 11:58:56 +0100
commit2f0daae42bb3fb3ff9984c75dabaff6880bc7c60 (patch)
tree2b16e7f40c29b918b05b51f2d958e8eb108c3477 /.local/bin/screenshot.sh
parent75275359f80bf778d099762d654f4ec3f473d4a8 (diff)
Fixed spacing issue on focused window function
Diffstat (limited to '.local/bin/screenshot.sh')
-rwxr-xr-x.local/bin/screenshot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/screenshot.sh b/.local/bin/screenshot.sh
index 715e9d5..a11a89b 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
;;
*)