screenshot: fix for wayland

This commit is contained in:
yosh 2023-10-04 09:29:50 -04:00
parent 72b454aaa2
commit 028ca79881
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ case "${XDG_SESSION_TYPE:-}" in
freeze_cmd="grim -l 0"
ss() {
if [ -n "$REGION" ]; then
reg="$(slurp -f '-g "%x,%y %wx%h"')" || return 1
reg="$(slurp -f '%x,%y %wx%h')" || return 1
fi
grim ${REGION:+-g "$reg"} "$tmpfp"
wl-copy < "$tmpfp"