A custom wallpaper clock made to look like code for Wallpaper Engine. Built using Svelte and Vite.
- Node.js (v16 or above)
- Package Manager
If you don't have pnpm installed, you can install it via npm:
npm install -g pnpm- Clone the repository:
git clone <your-repo-url> cd <your-project-directory>
- Install the dependencies:
pnpm install
- Run the dev server:
then navigate to localhost:5173 in your browser
pnpm dev
To build the project for Wallpaper Engine, follow these steps:
- Run the following command to build the project:
pnpm build
- The built files will be located in the
/distdirectory. This directory will contain the necessary files (index.htmland other assets) for the wallpaper.
Once you've built the project, you can import and test it in Wallpaper Engine.
Importing Your Wallpaper:
-
Open Wallpaper Engine.
-
Open the the Wallpaper Editor window, drag the
index.htmlfile located in the/distfolder into the Create Wallpaper file dropzone. This will import all files from the/distdirectory, including the necessary assets and configuration files.
Testing Your Wallpaper:
-
Once imported, you should see the wallpaper in the editor.
-
To test the wallpaper, navigate to
File > Apply Wallpaperwithin the Wallpaper Engine editor. This will apply the wallpaper to the current wallpaper environment and allow you to see how it behaves.
We welcome contributions! If you'd like to contribute to the project, here are some guidelines to follow:
If you encounter any bugs or have suggestions for improvements, please open an issue on the GitHub Issues page. Be sure to include the following:
- A clear description of the issue or feature request
- Steps to reproduce the bug (if applicable)
- Any relevant error messages or logs
If you'd like to contribute code to this project, please follow these steps:
- Fork the repository to your own GitHub account.
- Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
- Make your changes to the code.
- Commit your changes with a descriptive commit message:
git commit -m "Add feature or fix issue" - Push your changes to your forked repository:
git push origin feature/your-feature-name
- Open a Pull Request (PR) to merge your changes into the main repository.
- Follow the existing code style in the project (e.g. indentation, variable naming).
- Write meaningful commit messages that describe the changes made.
- Test your changes locally before submitting a pull request.
When adding new features, make sure to:
- Add any relevant configuration or property options to the
ApplyUserPropertiestype located insrc/lib/types.ts - Implement changes using best practices (e.g. separating concerns, modularization).
- Test the feature within the Wallpaper Engine editor.
This project is licensed under the MIT License. See the LICENSE file for more information.
