diff options
| author | Justine Smithies <justine@smithies.me.uk> | 2026-08-06 19:02:56 +0100 |
|---|---|---|
| committer | Justine Smithies <justine@smithies.me.uk> | 2026-08-06 19:02:56 +0100 |
| commit | e2d571999395829db7a908182637cfce5b063d9c (patch) | |
| tree | dfcfae7d97e3780ab004f66b13b11bc5ee0b6cf7 /.local | |
| parent | 6254a0b7b103ae9f399f0cc1c7a6ed79a82f8701 (diff) | |
Updated to work with Cow ( FVWM for Wayland ).
Diffstat (limited to '.local')
| -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 |
