Add sway screenshot hotkey

This commit is contained in:
hulthe committed 2021-05-20 17:04:03 +02:00
1 parent 4ad7a90faf
commit da8a25fc75
2 files changed
+16

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env sh
if [ "$XDG_SESSION_TYPE" != "wayland" ]; then
echo "this script only supports wayland"
exit 1
fi
DIMS="$(slurp)"
grim -g "$DIMS" - | pbc