Jappie3 / wayfreeze

Tool to freeze the screen of a Wayland compositor
GNU Affero General Public License v3.0
19 stars 1 forks source link

Double dimming in windows when using alongsde grim + slurp in sway / swayFX #7

Closed MRSS02 closed 1 month ago

MRSS02 commented 1 month ago

i started noticing afterwards that for some reason with a command like $(grim -g "$(slurp -d -c "#33bbffee" -b "#10101070" -s "#00000000" -F 'Fira Sans' -w 2)" - | wl-copy; killall wayfreeze) & sleep .1; wayfreeze --hide-cursor, sometimes it is evoking the grim dim screen effect twice, which makes the screenshots also contain that dim. Can this be solved?

https://github.com/user-attachments/assets/fb159b45-a42f-4cb8-b937-efdbbfb2fb89

Originally posted by @MRSS02 in https://github.com/Jappie3/wayfreeze/issues/6#issuecomment-2266355233

Jappie3 commented 1 month ago

I'm working on a better solution than the bash command, I'll let you know when there's something to test