changeset 342: | a3135650c721 |
parent: | 0fc025be1ae0 |
author: | Richard Westhaver <ellis@rwest.io> |
date: | Sun, 21 Jul 2024 18:41:14 -0400 |
permissions: | -rwxr-xr-x |
description: | fix |
1 #!/bin/sh2 # take screenshot of current window on sway3 swaymsg -t get_tree | jq -r '.. | select(.focused?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | grim -g - ${1:-"$(date +%s).png"}