GNU General Public License v3.0

项目介绍

anufrievroman/waypaper 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 GNU General Public License v3.0 许可证,目前获得 1.1k 个 Star、68 次 Fork。

仓库全名
anufrievroman/waypaper
开源许可证
GNU General Public License v3.0
Star 数
1.1k
Fork 数
68
未关闭 Issue
16

README 摘要

Waypaper GUI wallpaper setter for Wayland, Xorg, and macOS. It works as a frontend for popular wallpaper backends like swaybg, swww, awww, wallutils, hyprpaper, mpvpaper, gslapper, xwallpaper, feh, linux-wallpaperengine, and macos. See demo and documentation. Features Vim keys Supports GIF animations (with awww or mpvpaper or gslapper) Supports videos (with mpvpaper or gslapper) Supports multiple monitors (with awww…

完整内容见 GitHub 原始 README 或本页 。

常见问题

waypaper 用什么语言开发?

主要使用 Python 编写,采用 GNU General Public License v3.0 许可证,目前有 1.1k 个 Star。

waypaper 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 waypaper 的源码?

可以直接克隆仓库:git clone https://github.com/anufrievroman/waypaper.git,默认分支为 main;安装与运行步骤见仓库 README。

waypaper 最近还在维护吗?

仓库最近一次更新为 1 周前,当前有 16 个未关闭 Issue;Star 数为 1.1k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

GUI wallpaper manager for Wayland and Xorg Linux systems

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

Python
Shell

README

Waypaper

GUI wallpaper setter for Wayland, Xorg, and macOS. It works as a frontend for popular wallpaper backends like swaybg, swww, awww, wallutils, hyprpaper, mpvpaper, gslapper, xwallpaper, feh, linux-wallpaperengine, and macos. See demo and documentation.

screenshot

Features

  • Vim keys
  • Supports GIF animations (with awww or mpvpaper or gslapper)
  • Supports videos (with mpvpaper or gslapper)
  • Supports multiple monitors (with awww or swaybg or hyprpaper or mpvpaper)
  • Works on Wayland (with awww or swww or swaybg or hyprpaper or wallutils or mpvpaper or gslapper)
  • Works on Xorg (with feh, xwallpaper or wallutils)
  • Works on macOS (with macos)
  • Supports linux-wallpaperengine so you can use your animated wallpapers from Steam’s Wallpaper Engine
  • Restores wallpaper after restart (waypaper --restore)
  • Fast and minimal (315 kB)

Installation

Install Waypaper and at least one wallpaper backend, unless you use a custom wallpaper command with backend = none.

1. Install a backend

Install a preferred backend from your package manager: swww (archived) or awww or swaybg or hyprpaper on Wayland or xwallpaper or feh on Xorg or mpvpaper or gslapper or wallutils on both. Install linux-wallpaperengine if you want to use Steam’s Wallpaper Engine animated wallpapers. On macOS, use the built-in macos backend.

For a custom wallpaper command, set backend = none and post_command in the [Settings] section of your configuration file. In this mode, Waypaper runs post_command without invoking a built-in wallpaper backend.

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 unstable 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 python313-pycairo-devel and python313-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 lionheartp/Hyprland and install as sudo dnf install waypaper.

On macOS

First install GTK3 and PyGObject via Homebrew, then install Waypaper:

brew install gtk+3 pygobject3
pipx install waypaper

If pipx is not installed: brew install pipx && pipx ensurepath.

To make Waypaper accessible from Spotlight and Launchpad, copy the provided app bundle to your Applications folder:

cp -r data/macos/Waypaper.app ~/Applications/

Dependencies

  • awww or swww or swaybg or xwallpaper or feh or wallutils or hyprpaper or mpvpaper or gslapper or linux-wallpaperengine or macos (not required with backend = none)
  • gobject python library (it might be called python-gobject or python3-gi or python3-gobject in your package manager.)
  • python-imageio
  • python-imageio-ffmpeg
  • python-screeninfo
  • python-platformdirs
  • socat (only required for the mpvpaper backend, used for its IPC socket)

Usage

waypaper command will run GUI application.

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

Automatic wallpaper change (slideshow)

To rotate wallpapers automatically, open the slideshow panel from the options menu in the GUI, set an interval, and start it. For other ways to run the slideshow daemon, see the documentation.

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

评论

暂无评论