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

[wallpapers] Exposes a copy of the wallpaper so sddm can use it #1906

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

keth-real
Copy link
Contributor

@keth-real keth-real commented Oct 5, 2024

Pull Request

closes #1177 #1499
This is the easiest way to make the current wallpaper into a display-manager wallpaper. Or any system to access a file.

Make a copy of the file into /var/tmp/hyde/wall.set

Set current wallpaper as Sddm display picture

change Background=* into
Background="/var/tmp/hyde/wall.set" This is the path of the copied wallpaper.
image

Anyone can access this image so don't put anything confidential as the wallpaper. LOL

@abenezerw
Copy link
Contributor

Actually you can give access to sddm by giving it reading privileges to the original location of the wall.set in cache.

@keth-real
Copy link
Contributor Author

Actually you can give access to sddm by giving it reading privileges to the original location of the wall.set in cache.

You’re absolutely right—granting sddm read permissions to the original wallpaper location is a viable solution.

However, I wanted to clarify that this PR aims to expose the wallpaper system-wide, allowing not just sddm but also other applications to utilize it.

@keth-real
Copy link
Contributor Author

Is there any way we don't hard code the user?

If we do this using $USER during the sddm session it is "root"

Background="/home/$USER/.cache/hyde/wall.set"

so we need to hard code it right?

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

Successfully merging this pull request may close these issues.

2 participants