feat(sway): copy screenshot on exit

This commit is contained in:
2026-09-18 14:17:35 +02:00
parent b5fea2c615
commit b95c79e371

View File

@@ -2,5 +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 --early-exit grim -o "$output" - | satty -f - --fullscreen --early-exit --copy-command wl-copy