qtilities / wshot

Wayland screenshot tool using Qarma
GNU General Public License v3.0
2 stars 3 forks source link

Region screenshot not working if invoked from menu or runner #1

Closed stefonarch closed 8 months ago

stefonarch commented 1 year ago

Using a wshot.desktop file and launching it from menu or runner selected area doesn't work - only launching from cli or shortcut is working.

elif [ "$mode" == "Selected area" ];then
    notify-send slurp!!
    exec slurp
        slurp
    GEO="$(slurp)"

none of them except notification works.

stefonarch commented 8 months ago

Exec=bash -c "wshot &" in the .desktop file should fix it.