swaywm / swaybg

Wallpaper tool for Wayland compositors
MIT License
510 stars 32 forks source link

Background change - flicker #17

Closed fraunos closed 2 years ago

fraunos commented 4 years ago

Hii, I just set up a live webcam image for my background with the help of https://stackoverflow.com/questions/50311320/systemd-and-sway-socket-not-detected And my question is - is there a way to make background change more smooth? I mean not in like smooth transition, but just without the sudden flicker. Here's vid below.

bez tytułu

oliverpool commented 3 years ago

I just read this, which could help you: https://sylvaindurand.org/dynamic-wallpapers-with-sway/

    PID=`pidof swaybg`
    swaybg -i ./img/whatever.png -m fill &
    sleep 1
    kill $PID
emersion commented 3 years ago

This is due to the lack of IPC in swaybg. Introducing an IPC (e.g. similar to swaybar's) would help. Not 100% sure we want to go down this road.

emersion commented 3 years ago

oguri now has an IPC and can change the background on-the-fly without flickering.

emersion commented 2 years ago

Closing as out-of-scope.