Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to get tag_preview's wallpaper background to be the current one set by the wallpaper module? #153

Open
kwand opened this issue Jan 14, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@kwand
Copy link

kwand commented Jan 14, 2022

As titled.

Currently, I'm using theme.wallpaper for tag preview's background wallpaper - following the example in the docs - but I noticed that bling's wallpaper module doesn't change this variable or any other global variable that I know of (I might be wrong about this though!), so the tag preview's wallpaper doesn't really match the current wallpaper being used.

Any way to do this within the current release, or does this require a PR?

@latipun7
Copy link

I want to know this too ...
Here's my use case: #160
Sorry for opening the discussion (duplicate of this issue), I really miss this issue

@Nooo37
Copy link
Member

Nooo37 commented Apr 1, 2022

Yea you are right. It would be cool if one could get notified when the wallpaper changed. That doesn't seem possible with the current code and would require a PR though.

Theoretically one can access the surface of the wallpaper already through root.wallpaper(). For example awesome-client "cairo = require('lgi').cairo; cairo.Surface(root.wallpaper()):write_to_png('test.png')" will save your wallpaper to "test.png". But afaik there is no signal to attach to, to determine when the wallpaper changed.

@Nooo37 Nooo37 added the enhancement New feature or request label Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants