Skip to content

anufrievroman/waypaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Waypaper

GUI wallpaper setter for Wayland and Xorg window managers. It works as a frontend for popular wallpaper backends like swaybg, swww, wallutils, hyprpaper, mpvpaper and feh. See demo and documentation.

screenshot

Features

  • Vim keys
  • Supports GIF animations (with swww or mpvpaper)
  • Supports videos (with mpvpaper)
  • Supports multiple monitors (with swww or swaybg or hyprpaper or mpvpaper)
  • Works on Wayland (with swww or swaybg or hyprpaper or wallutils or mpvpaper)
  • Works on Xorg (with feh or wallutils)
  • Restores wallpaper after restart (waypaper --restore)
  • Fast and minimal

Installation

You need to install at least one of the backends and Waypaper, which works as a frontend.

1. Install a backend

Install a preferred backend from your package manager: swww or swaybg or hyprpaper on Wayland or feh on Xorg or mpvpaper or wallutils on both.

2. Install Waypaper

Install waypaper, which is available in different repositories:

On all distributions

pipx install waypaper

If pipx is not found, you first need to install pipx from your package manager, it's sometimes called python-pipx.

On Arch-based distributions

yay -S waypaper

The waypaper package and developer package waypaper-git are available in AUR, thanks to metak. Please upvote to support the project.

On NixOS

The waypaper package is available thanks to Basil Keeler.

On OpenSUSE

Users of OpenSUSE reported issue with installation via pipx install waypaper. This can be resolved by installing the python311-pycairo-devel and python312-gobject-devel packages first.

On Fedora

Waypaper is available in an external repository owned by Solopasha. You can add this repository as sudo dnf copr enable solopasha/hyprland and install as sudo dnf install waypaper.

Dependencies

  • swww or swaybg or feh or wallutils or hyprpaper or mpvpaper
  • gobject python library (it might be called python-gobject or python3-gi or python3-gobject in your package manager.)
  • python-importlib_metadata
  • python-imageio
  • python-imageio-ffmpeg
  • python-screeninfo
  • python-platformdirs

Usage

waypaper command will run GUI application.

To restore your wallpaper after restart, add waypaper --restore to your WM startup config.

Documentation

Contribution

Feel free to propose PR and suggest the improvements. I'll appreciate help with packaging for various distributions. If you wish to contribute with translation into your language, please see the translations.py file. Here are a few guiding principles for contribution:

  • Please do not apply automatic code formatting tools on the entire code base.
  • Please propose features separately, don't combine unrelated changes into one PR.
  • For big changes, please open an issue first to discuss, otherwise PR might be declined.
  • If the changes involve hundreds of lines of code, probably something is wrong. Most things can be done with small adjustments.

Support

I am not a professional developer and work on open-source projects in my free time. If you'd like to support the development, consider donations via:

  • Cards and PayPal: BuyMeACoffee
  • BTC bc1qpkzmutdqfxkce34skt09vll97s5smpa0r2tyzj
  • ETH 0x6f1Ce9cA181458Fc153a5f7cBF88044736C3b00C
  • BNB 0x40f22c372758E35C905458cAF8BB17f51ac133d1
  • LTC ltc1qtu33qyv2xlzxda5mmrmk943zpksq8q75tuh85p
  • XMR 4AHRhpNYUZcPVN78rbUWAzBuvMKQdpwStS5L3kjunnBMWWW2pjYBko1RUF6nQVpgQPdfAkM3jrEWrWKDHz1h4Ucd4gFCZ9j