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

[SUPPORT REQUEST] - Setting wallpaper programmatically? #39

Open
2 tasks done
rikai-suru opened this issue Feb 25, 2025 · 1 comment
Open
2 tasks done

[SUPPORT REQUEST] - Setting wallpaper programmatically? #39

rikai-suru opened this issue Feb 25, 2025 · 1 comment
Labels
question Further information is requested

Comments

@rikai-suru
Copy link

Issue Description

Is it possible to set a wallpaper via the terminal only, e.g. "AutoWall.exe --file some file"? If not, is there a way to achieve:

My use case is I want to have a light themed live wallpaper when during the morning, and a dark-themed one when during the night. I can do light scripting, so an interface is really all I need, so it doesn't need to be a hardcoded feature with a GUI.

I really appreciate the simplicity of AutoWall. It's veeeery lightweight, which is a plus for my laptop. Thanks for your work!

Windows version

Windows 11

Confirmation

  • I performed a search of the support requests to avoid submitting a duplicate request
  • I understand that not filling out this template correctly may lead to the request being closed
@rikai-suru rikai-suru added the question Further information is requested label Feb 25, 2025
@SegoCode
Copy link
Owner

Sure,
Check this line https://github.com/SegoCode/AutoWall/blob/7166ba5e7b679c17c3b1c8ae28282d7017457ec7/src/AutoWall.au3#L51C2-L51C42

Just AutoWall.exe + the file path, but you also do the same thing with the core service weebp https://github.com/SegoCode/AutoWall/tree/master/src/weebp check the commands here

RunWait($weebp & "run mpv " & '"' & GUICtrlRead($inputPath) & '"' & " --screen="& $screenNumber &" --input-ipc-server=\\.\pipe\mpvsocket", "", @SW_HIDE)

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

No branches or pull requests

2 participants