diff --git a/scripts/screenshot/screenshot_area.sh b/scripts/screenshot/screenshot_area.sh index d0a7ef4..ff73b92 100755 --- a/scripts/screenshot/screenshot_area.sh +++ b/scripts/screenshot/screenshot_area.sh @@ -25,7 +25,8 @@ fi # Esc/Enter here) and exits immediately. if command -v satty >/dev/null 2>&1; then satty --filename "$dir/$file" --output-filename "$dir/$file" \ - --copy-command wl-copy --actions-on-escape save-to-file --early-exit + --copy-command wl-copy --actions-on-escape save-to-file --early-exit \ + --floating-hack wl-copy -t image/png < "$dir/$file" fi diff --git a/scripts/screenshot/screenshot_monitor.sh b/scripts/screenshot/screenshot_monitor.sh index cfb4a81..7f01b77 100755 --- a/scripts/screenshot/screenshot_monitor.sh +++ b/scripts/screenshot/screenshot_monitor.sh @@ -26,7 +26,8 @@ fi # Esc/Enter here) and exits immediately. if command -v satty >/dev/null 2>&1; then satty --filename "$dir/$file" --output-filename "$dir/$file" \ - --copy-command wl-copy --actions-on-escape save-to-file --early-exit + --copy-command wl-copy --actions-on-escape save-to-file --early-exit \ + --floating-hack wl-copy -t image/png < "$dir/$file" fi diff --git a/scripts/screenshot/screenshot_window.sh b/scripts/screenshot/screenshot_window.sh index 16a7c5c..b804934 100755 --- a/scripts/screenshot/screenshot_window.sh +++ b/scripts/screenshot/screenshot_window.sh @@ -45,7 +45,8 @@ fi # Esc/Enter here) and exits immediately. if command -v satty >/dev/null 2>&1; then satty --filename "$dir/$file" --output-filename "$dir/$file" \ - --copy-command wl-copy --actions-on-escape save-to-file --early-exit + --copy-command wl-copy --actions-on-escape save-to-file --early-exit \ + --floating-hack wl-copy -t image/png < "$dir/$file" fi