-
Notifications
You must be signed in to change notification settings - Fork 25
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
wip: wpaperctl set MONITOR NEW_WP_PATH #70
base: main
Are you sure you want to change the base?
Conversation
Hey @alphastrata, thank you for your PR! Actually, this is a much-needed feature that I didn't think about. A few notes, I took a look at the script that you shared, but I couldn't make out where the output is going to be. Can you please share more? I am actually curious to see if this workflow can be managed by the configuration or not, also for future references and similar use cases. Regarding your PR, it works fine but, I have a couple of things that I think should be clarified now.
My first idea would be having a |
Regarding the error for I found something similar while looking through internet:
I don't know if those can help. |
Re the 'script' sorry it's actually an app -- it downloads GIANT ass images(70-180MB) of the earth from a satellite every ten minutes, I've no interest in keeping all these files on disk (too big) and don't ahead of time know what's in the directory which is why I arrived here.
|
i'll take a look, thank you! EDIT: |
Is there a way to set a symlink to the latest directory? I.e. use path
Likewise, I agree, that would be reasonable.
I would still keep the timer if the new path is a directory. Then I am not sure if wpaperctl should print an error if an image is set as wallpaper and there is a
I agree as well. |
RE: Symlinks, yes this is possible, but the cleanup is a little tedious. (In a perfect world maybe we could even have an arg that just accepted raw bytes of an Image as part of an arg, to allow images downloaded etc to skip disk entirely :wink :wink)
RE directories: On timers/configs etc: |
… unwrap_or_else is preferred
Was able to put a few touches on this this arvo, to test obviously don't be already running it all so: pkill wpaperd
pkill wpaperctl #(jic)
cargo run wpaperd
nixGL cargo run --bin wpaperctl -- set "some image.png" DP-1 #/2/3/4/ whatever
|
Glad to know that the issues have been fixed!
It should be pretty easy to implement right now, the issue is that many people would like to download images using an API and it should also be configured. That requires a plugin system, and it's what I'd like to avoid currently.
That makes sense, and it's actually a good idea; wpaperd would be way more programmable than now. I am thinking of What do you think about this idea? |
I think the skipping of checks etc is a great idea. to recap is it, what it is that we want to go into this one to wrap it up (the local build I'm running of it is now serving my needs ) , I'm happy to make changes. |
I think we need to expand |
yeah sure -- I'm cool with using the fork tbh, but more than happy to help get it in to the next one. |
Heya,
I have a tool that pulls new images for me every 10 minutes from a server, I don't like my current solution which is a shell script modifying the
~./config...
's path on a per monitor basis.I think it'd be nice to be able to do something like:
wpaperctl set <MONITOR> <NEW_WALLPAPER_PATH>
kinda thing..I've gotten most of the way there in this PR, but wanted to get thoughts etc before finishing it, as I'm certainly missing something.
Also, I get:
which is weird? as I'm using the included flake.