An open API service indexing awesome lists of open source software.

https://github.com/lincolncox29/wallpaperlite-cli

Set desktop wallpaper using VLC
https://github.com/lincolncox29/wallpaperlite-cli

c customization microsoft software vlc vlc-libvlc vlc-media-player wallpaper wallpaper-app wallpaper-changer wallpaper-engine-software wallpaperengine-download walpaperapp windows-10 windows-11 windows-app windows-desktop

Last synced: about 1 month ago
JSON representation

Set desktop wallpaper using VLC

Awesome Lists containing this project

README

          

# WallpaperLite-CLI

**Set videos as your Windows desktop wallpaper** using VLC's lightweight engine. Perfect for animated backgrounds with minimal resource usage.

![GitHub Stars](https://img.shields.io/github/stars/LincolnCox29/WallpaperLite-CLI?style=for-the-badge&logo=github)
![GitHub Forks](https://img.shields.io/github/forks/LincolnCox29/WallpaperLite-CLI?style=for-the-badge&logo=github)
![GitHub Last Commit](https://img.shields.io/github/last-commit/LincolnCox29/WallpaperLite-CLI?style=for-the-badge&logo=git)
![GitHub Releases](https://img.shields.io/github/downloads/LincolnCox29/WallpaperLite-CLI/total?style=for-the-badge&logo=github)

```ascii
██╗ ██╗██████╗ ██╗
██║ ██║██╔══██╗██║
██║ █╗ ██║██████╔╝██║
██║███╗██║██╔═══╝ ██║
╚███╔███╔╝██║ ███████╗
╚══╝╚══╝ ╚═╝ ╚══════╝
```

## 🎦 UI Version
- https://github.com/MHSPlay/Wallpaper-Lite
- By [LincolCox29](https://github.com/LincolnCox29) and [MHSPlay](https://github.com/MHSPlay)

## 📌 Features
- Hardware-accelerated video playback (DXVA2)
- Seamless desktop integration via `WorkerW` injection
- Loop playback with audio disabled
- Windows 10/11 support
- <300 LOC core implementation

## ⚙️ Requirements
- **Windows 10/11** (Build 22h2+)
- Video file in supported format (MP4, Webm, etc.)

## 🚀 Installation
1. Download latest release
2. Extract `wallpaperLite-CLI.exe` and `VLCmin` folder to same directory
3. Run via command line:
```bash
wallpaperLite-CLI.exe C:\path\to\your\video.mp4
```

## 🔧 Building
### Method 1 (recommended)
1. Clone this repo
```bash
git clone https://github.com/LincolnCox29/WallpaperLite-CLI
```
2. Run auto_builder.bat
### Method 2 (with CMake)
1. Clone this repo
```bash
git clone https://github.com/LincolnCox29/WallpaperLite-CLI
```
2. Create build folder in repo dir
```bash
mkdir build
cd build
```
3. Build with CMake
```
cmake -A Win32 ..
cmake --build . --config Release
```

## 🛠 Technical Implementation
```mermaid
graph LR
A[CLI Launch] --> B[Find WorkerW]
B --> C[Load VLCmin DLLs]
C --> D[Initialize VLC Player]
D --> E[Attach to Desktop]
E --> F[Video Playback]
```

Key components:
- **WorkerW injection** for desktop integration
- **Dynamic VLC loading** via `LoadLibrary()`
- **HWND attachment** to desktop window
- **Minimal VLC runtime** (~15MB)

## 🐛 Known Limitations
- No volume control (audio disabled)
- Requires console window to remain open
- Single monitor support only
- No playback controls