Multi-platform parallax wallpaper engine
Layered WallPaper allows You to create multi-layered parallax wallpapers.
Each layer moves with Your mouse cursor, creating this beautiful effect.
SDL2
using Your package managerWayland
, You also must install XWayland
.tar.gz
package from releases
/usr/local
:sudo tar -o -xvf [archive name].tar.gz --directory /usr/local
/usr/local
, You need to set LWP_PREFIX
env before running lwp
.lwp
lwp
, then run it again to open the configuration window. Select wallpaper for each monitor.Draw on root window
in application settings. This may be necessary on some distributions for Layered WallPaper to work properly (see configuration)lwp &
command to Your desktop enviroment .rc
fileSDL2
doesn't contain development files, so it may be also necessary to install development version of SDL2
CMake
build
directory:git clone https://github.com/jszczerbinsky/lwp
cd lwp
mkdir build
cd build
.tar.gz
packagecmake ../
cmake --build .
cpack
.tar.gz
package should appear. Follow the installation stepsTo compile Layered WallPaper on Windows you need to install MSYS2. After the installation follow the guide for setting up GTK development enviroment. From now on continue using MSYS2 MinGW terminal (make sure you're using MSYS2 MINGW64
/MSYS2 MINGW32
instead of MSYS2
).
# For 64bit:
pacman -S mingw-w64-x86_64-cmake mingw-w64-x86_64-SDL2 mingw-w64-x86_64-gcc mingw-w64-x86_64-gtk3 mingw-w64-x86_64-libconfig
# For 32bit:
pacman -S mingw-w64-i686-cmake mingw-w64-x86_i686-SDL2 mingw-w64-x86_i686-gcc mingw-w64-x86_i686-gtk3 mingw-w64-x86_i686-libconfig
git clone https://github.com/jszczerbinsky/lwp
cd lwp
mkdir build
cd build
# Remember to use unix path format (instead of C:/path/to/dir use /c/path/to/dir)
cmake -DSDL2_RUNTIME_DIR=/path/to/dir ../
cmake --build .
# Prepare the DLLs, that will be shipped with the program.
# The script is going to ask you which version of gdbus.exe should it use (32bit or 64bit)
../distributeDLLs.sh
cpack
After this the installer should appear in the current directory.
lwp
is already running in the background, run lwp
again to show the window.%LOCALAPPDATA%\lwp\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.
.bmp
file and name them 1.bmp
, 2.bmp
... (1.bmp
is bottom most layer)wallpaper.cfg
(You can make a copy from C:\Program Files\lwp\wallpapers\default-fullhd\wallpaper.cfg
)File structure:
C:
└ MyCoolWallpaperDirectory
└ wallpaper.cfg
└ 1.bmp
└ 2.bmp
└ 3.bmp
Type | Name | Description |
---|---|---|
int | count | Wallpaper layers count |
float | movement_x | Mouse sensitivity in X axis |
float | movement_y | Mouse sensitivity in Y axis |
int | repeat_x | Repeat the wallpaper in X axis |
int | repeat_y | Repeat the wallpaper in Y axis |
MIT License
Copyright (c) 2022 Jakub Szczerbiński
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.