aboutsummaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2026-08-06 19:02:56 +0100
committerJustine Smithies <justine@smithies.me.uk>2026-08-06 19:02:56 +0100
commite2d571999395829db7a908182637cfce5b063d9c (patch)
treedfcfae7d97e3780ab004f66b13b11bc5ee0b6cf7 /.local/bin
parent6254a0b7b103ae9f399f0cc1c7a6ed79a82f8701 (diff)
Updated to work with Cow ( FVWM for Wayland ).
Diffstat (limited to '.local/bin')
-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 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