changeset 29: | 0fc025be1ae0 |
parent: | aac1cf6cf2bb |
author: | ellis <ellis@rwest.io> |
date: | Fri, 29 Dec 2023 21:10:24 -0500 |
permissions: | -rwxr-xr-x |
description: | sbcl rlwrap and makefile upgrades |
17 | 1 | #!/bin/sh |
29 | 2 | # take screenshot of current window on sway |
3 | swaymsg -t get_tree | jq -r '.. | select(.focused?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | grim -g - ${1:-"$(date +%s).png"} |