Code Monkey home page Code Monkey logo

wayper's Introduction

wayper

A wallpaper setter for wayland. A huge WIP.

It is usable, but there may be many bugs.

Why

Just a curious foray into the wayland protocol.

Update 2024: I still don't understand much, especially when jumping back into this project after a year of absence.

Features

  • Sets wallpapers from images
  • Rotate through images in a directory with set duration
  • Config hotreloads (currently in reimplementation)
  • Multi-output (displays) multi-image support

Configuration

Config is read from ~/.config/wayper/config.toml

Example

# table with output's name
[eDP-1]
name = "eDP-1" # optional
path = "path/to/wallpaper/folder/orfile"
duration = 10 # duration between rerenders, or wallpaper switching

Caveats

  • Running this as a daemon is a good idea
  • So many unwraps.

Building

Generic Linux Distribution

  1. Get the latest stable Rust toolchain from your package distribution or rustup
  2. Clone the repo.
  3. Run cargo run --release to run it, or cargo install --path . to install via cargo.

Nix Flakes

  1. Set this in your flake inputs:
inputs = {
    # append a /<commit hash/branch/tag> to lock that specific hash
    wayper.url = "github:luqmanishere/wayper";
}
  1. Use the provided Home Manager module (exported under homeManagerModules) to configure it as a service.
  2. NixOS module coming soonish.

What's Next?

  • Video/GIFs/Animated wallpapers

  • Those transitions look cool af too

  • Socket for control

  • Maybe allow multiple configurations for same output with conditions

  • Execute command/script on wallpaper change

  • NixOS module

Inspirations

wayper's People

Contributors

luqmanishere avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.