Tauri Plugin Wallpaper (✨)
A Tauri plugin to set your window as wallpaper behind desktop icons
Available platforms (🚧)
- Windows
- MacOS
- Linux
Getting Started (✅)
Installation (⏬)
-
cargo
-
npm
How to use (🌠)
- cargo
- npm
import wallpaper from "tauri-plugin-wallpaper";
// or import { attach, detach, reset } from "tauri-plugin-wallpaper";
// Attach current window as wallpaper
wallpaper.attach();
// or using window label identifier
wallpaper.attach("window-label");
// detach current window from wallpaper
wallpaper.detach();
// or using window label identifier
wallpaper.detach("window-label");
// reset wallpaper
wallpaper.reset();
Permissions (🔑)
If you want to use the javascript bindings, you need to add the following permissions.
default.json
See reference for more permissions options.