Skip to content
This repository has been archived by the owner on Aug 14, 2022. It is now read-only.

Flickering between image change when used as swaybg #25

Closed
rhysperry111 opened this issue Feb 23, 2020 · 6 comments
Closed

Flickering between image change when used as swaybg #25

rhysperry111 opened this issue Feb 23, 2020 · 6 comments

Comments

@rhysperry111
Copy link

Hi, sorry to create two issues in one day. Now that the previous one was fixed I have found this one.

Basically, when integrated with sway the background seems to flicker in between image changes. The reason I had switched to oguri was because I was led to believe (while reading about this exact same problem with swaybg) that oguri would not flicker.

Is this something that can easily fixed?

@rhysperry111
Copy link
Author

I believe this is related to #3

@vilhalmer
Copy link
Owner

If you use oguri-swaybg, you have the same limitations as the real swaybg. If you want to avoid the flickering, you have to exec oguri yourself and use ogurictl to change the image.

@vilhalmer
Copy link
Owner

It's worth nothing that all of this will be documented before I release 1.0. I may also eliminate oguri-swaybg entirely given the limitations.

@rhysperry111
Copy link
Author

Ok, thank you. I am going to have to modify my PR of https://github.com/adi1090x/battery-wallpaper as it is based on swaybg (I did not know of this limitation when I wrote it.

@vilhalmer
Copy link
Owner

It would be possible to rewrite oguri-swaybg to call ogurictl but since you would still have to run oguri separately I don't think it's worth it.

@vilhalmer
Copy link
Owner

I would accept a PR doing so though!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants