changeset 95: | f69061a590da |
parent: | 953c5127546a |
author: | Richard Westhaver <ellis@rwest.io> |
date: | Sat, 07 Sep 2024 22:40:44 -0400 |
permissions: | -rwxr-xr-x |
description: | moonlander concessions |
1 #!/usr/bin/env bash3 # take screenshot of current window on sway4 # swaymsg -t get_tree | jq -r '.. | select(.focused?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | grim -g - ${1:-"$(date +%s).png"}