This may be a huge feature request, but if that is possible, it would allow to implement like a battery indicator #25. rotating lock images or even displaying arts of the current running music without that swaylock-effects needs to support this explicit.
The feature is if swaylock-effects gets called a second time while swaylock-effects (not default swaylock or so) is already running, the new process tries to build up a new rendered lock picture (taking a screenshot of the screen behind the lock screen while its locked might be not easy or possible at all) with new configuration given and then transfers this picture to the currently running swaylock instance via IPC so that the running instance can update its pictures.
This feature may also support other settings like fade (fading from old to new picture) or grace or the indicator configuration. Together with an option like --only-update (which does prevent opening swaylock-effects if it is currently not running but supports updating an already running instance) you could easily implement things like a live battery or network indicator.
This may be a huge feature request, but if that is possible, it would allow to implement like a battery indicator #25. rotating lock images or even displaying arts of the current running music without that swaylock-effects needs to support this explicit.
The feature is if swaylock-effects gets called a second time while swaylock-effects (not default swaylock or so) is already running, the new process tries to build up a new rendered lock picture (taking a screenshot of the screen behind the lock screen while its locked might be not easy or possible at all) with new configuration given and then transfers this picture to the currently running swaylock instance via IPC so that the running instance can update its pictures. This feature may also support other settings like fade (fading from old to new picture) or grace or the indicator configuration. Together with an option like
--only-update
(which does prevent opening swaylock-effects if it is currently not running but supports updating an already running instance) you could easily implement things like a live battery or network indicator.