diff --git a/mangowc/.config/mango/scripts/screenshot b/mangowc/.config/mango/scripts/screenshot index 2a4c3f6..f72cd94 100755 --- a/mangowc/.config/mango/scripts/screenshot +++ b/mangowc/.config/mango/scripts/screenshot @@ -23,5 +23,7 @@ case "${1:-fullscreen}" in if [ -z "$g" ]; then kill "$wp" 2>/dev/null; rm -f "$p"; exit 1; fi grim -g "$g" - | wl-copy kill "$wp" 2>/dev/null; rm -f "$p" ;; + output) + grim -o "$(mmsg get cursorpos | jq -r .monitor)" - | wl-copy;; *) grim - | wl-copy;; esac