meskarune / i3lock-fancy

i3lock script that takes a screenshot of the desktop, blurs the background and adds a lock icon and text
MIT License
1.51k stars 186 forks source link

Flag -d doesn't hid the windows from the screenshot #173

Closed snugglej closed 1 year ago

snugglej commented 3 years ago

Hi, I'm wondering if -d is supposed to hide the windows and then take a picture of the blank desktop? Right now from reviewing the code the picture occurs prior to the wmctrl -k on command so the picture is showing the windows and whatever contents may be up.

Thanks,

Rich

AladW commented 3 years ago

You'd have to do this in a way compatible to all window managers, and correctly such that the user can restore the windows after unlock. PR welcome.