Files
dot.config/bin/screenshot-area
T
daniel fusser 49462fb909 initial commit
2026-06-23 00:38:32 +02:00

4 lines
191 B
Bash
Executable File

#!/bin/sh
# https://github.com/jtheoof/swappy
grim -g "$(swaymsg -t get_tree | jq -r '.. | select(.pid? and .visible?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | slurp)" - | swappy -f -