fix(sway): close satty after copy

This commit is contained in:
2026-04-15 00:20:26 +02:00
parent 1275a1ef4a
commit 1efb93fc60

View File

@@ -2,4 +2,5 @@
# screenshot focused monitor with satty # screenshot focused monitor with satty
output=$(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name') output=$(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name')
grim -o "$output" - | satty -f - --fullscreen grim -o "$output" - | satty -f - --fullscreen --early-exit