#tauri-plugin #wallpaper #window #icons #desktop #behind #set

tauri-plugin-wallpaper

A Tauri plugin to set your window as wallpaper behind desktop icons

1 unstable release

0.0.1 Mar 29, 2023

#18 in #behind

MIT/Apache

7KB
104 lines

Tauri Plugin Wallpaper (✨)

A Tauri plugin to set your window as wallpaper behind desktop icons


license issues


Getting Started (✅)

  • Installation (⏬)

    • cargo

      cargo install tauri-plugin-wallpaper
      
    • npm

      npm install tauri-plugin-wallpaper
      

How to use (🌠)

  • cargo
use tauri_plugin_wallpaper::Wallpaper;

fn main() {
  tauri::Builder::default().plugin(
    Wallpaper::init(),
  );
}

//

// to attach
Wallpaper::attach( & wallpaper_window);
// to detach
Wallpaper::detach( & wallpaper_window);
  • npm
  import wallpaper from "tauri-plugin-wallpaper";

wallpaper.attach();
// or
const windowLabel = "My Window Label";
wallpaper.attach(windowLabel);

// to detach
wallpaper.detach();

The End (💘)

Dependencies

~21–82MB
~1.5M SLoC