https://github.com/jszczerbinsky/lwp Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code + Explore + All features + Documentation + GitHub Skills + Blog * Solutions + For + Enterprise + Teams + Startups + Education + By Solution + CI/CD & Automation + DevOps + DevSecOps + Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles + Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} jszczerbinsky / lwp Public * Notifications * Fork 3 * Star 276 Parallax wallpaper engine for Linux and Windows License MIT license 276 stars 3 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights jszczerbinsky/lwp This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 3 branches 6 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/j] Use Git or checkout with SVN using the web URL. [gh repo clone jszcze] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @jszczerbinsky jszczerbinsky Update README.md ... 2435a53 Feb 23, 2023 Update README.md 2435a53 Git stats * 87 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github Update issue templates February 19, 2023 22:16 wallpapers/test repeating layers and new default configs February 22, 2023 14:10 .gitignore Fixed build script February 11, 2023 16:03 LICENSE Initial commit September 18, 2022 11:14 Makefile Fixed makefile February 22, 2023 14:13 README.md Update README.md February 23, 2023 14:43 build.bat New default config files February 22, 2023 00:41 debug.c new config system working February 21, 2023 19:18 debug.h new config system working February 21, 2023 19:18 default.cfg repeating layers and new default configs February 22, 2023 14:10 defaultWin.cfg repeating layers and new default configs February 22, 2023 14:10 icon.ico Added icon September 29, 2022 13:30 install.bat Added windows installer September 29, 2022 20:47 main.c Fixed typo in code February 22, 2023 14:15 main.h new config system working February 21, 2023 19:18 parser.c New default config files February 22, 2023 00:41 parser.h new config system working February 21, 2023 19:18 resource.rc Added icon September 29, 2022 13:30 wallpaper.c new config system working February 21, 2023 19:18 wallpaper.h new config system working February 21, 2023 19:18 window.c new config system working February 21, 2023 19:18 window.h New config system February 20, 2023 23:00 View code [ ] LWP Installation Installation steps Build from source instead Installation steps Build from source instead Configuration Create a configuration file Using config file Available options: Creating Wallpapers How to create a wallpaper for lwp Example: Config file: License README.md LWP LWP allows You to create multi-layered parallax wallpapers. Each layer moves with Your mouse cursor, creating this beautiful effect. [6874747073] [6874747073] [6874747073] [6874747073] Installation * Configuration * Creating Wallpapers Buy Me A Coffee Installation Linux Installation steps * Download .zip package from releases * Unzip the content to /: sudo unzip -d / [archive name].zip * Test lwp by running lwp * To make lwp run on startup, add lwp & command to Your desktop enviroment .rc file Build from source instead * Install SDL2 using Your package manager * Clone the repository and install lwp: git clone https://github.com/jszczerbinsky/lwp cd lwp make sudo make install * Test lwp by running lwp * To make lwp run on startup, add lwp & command to Your desktop enviroment .rc file Windows Installation steps * Download .zip package from releases * Extract the package * Run install.bat as Administrator * Lwp should run immediately after the installation Build from source instead * You need MinGW with SDL2-devel git clone https://github.com/jszczerbinsky/lwp cd lwp build.bat * Download SDL2 and put SDL2.dll in data directory * Run install.bat as Administrator * Lwp should run immediately after the installation Configuration Create a configuration file Linux * Copy default config file to .config/lwp/lwp.cfg: mkdir ~/.config/lwp cp /etc/lwp.cfg ~/.config/lwp/lwp.cfg Windows * Press [?] Win + R * Type %appdata% and press Ok * Create new directory and name it lwp * Copy file C:\Program Files\lwp\defaultWin.cfg to directory created in the previous step and rename it to lwp.cfg * Open lwp.cfg in notepad Using config file * Do not put spaces between = and values * Do not leave trailing spaces * Comments start with # * Do not put strings in quotation marks Available options: Type Name Description int reload_rootwindow Set this to 1 if You are using a compositor (linux only) float smooth Smooth movement multipler int monitors Monitors count int monitor[n]_x Position of nth monitor in X axis int monitor[n]_y Position of nth monitor in Y axis int monitor[n]_w Width of nth monitor int monitor[n]_h Height of nth monitor string monitor[n] Absolute path to the wallpaper directory _wallpaper int monitor[n] Position of the wallpaper relative to the _wallpaper_x monitor int monitor[n] Position of the wallpaper relative to the _wallpaper_y monitor int monitor[n] Wallpaper resolution _wallpaper_w int monitor[n] Wallpaper resolution _wallpaper_h Creating Wallpapers Want to share Your wallpaper? Join our discord! Parallax wallpapers are not popular. Because of this if You want some cool parallax wallpaper, You have to either find a parallax game background on the internet and use it as a wallpaper or cut some real wallpaper into layers using Gimp or Photoshop. How to create a wallpaper for lwp * Create a directory for Your wallpaper * Save each layer to this directory as .bmp file and name them 1.bmp, 2.bmp ... (1.bmp is bottom most layer) * Create a wallpaper config file and name it wallpaper.cfg (You can make a copy from C:\Program Files\lwp\defaultWin.cfg) Example: File structure: C: + MyCoolWallpaperDirectory + wallpaper.cfg + 1.bmp + 2.bmp + 3.bmp Config file: Type Name Description int count Wallpaper layers count float movement_x Mouse sensitivity in X axis float movement_y Mouse sensitivity in Y axis float movement_x_ Mouse sensitivity in X axis for nth layer [n] (optional) float movement_y_ Mouse sensitivity in Y axis for nth layer [n] (optional) int repeat_x Repeat the wallpaper in X axis int repeat_y Repeat the wallpaper in Y axis License MIT License Copyright (c) 2022 Jakub Szczerbinski Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. About Parallax wallpaper engine for Linux and Windows Topics windows linux wallpaper live-wallpaper customization customizable parallax-scrolling animated-wallpaper Resources Readme License MIT license Stars 276 stars Watchers 1 watching Forks 3 forks Releases 6 v1.5 Latest Feb 22, 2023 + 5 releases Contributors 2 * @jszczerbinsky jszczerbinsky Jakub Szczerbinski * @Baumistlustig Baumistlustig Johannes Hollwerth Languages * C 84.8% * Batchfile 13.4% * Makefile 1.8% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.