waypaper/README.md

92 lines
3.6 KiB
Markdown
Raw Normal View History

2023-08-08 06:44:27 +03:00
# Waypaper
2024-06-04 09:49:05 +03:00
GUI wallpaper setter for Wayland and Xorg window managers. It works as a frontend for popular wallpaper backends like `swaybg`, `swww`, `wallutils`, `hyprpaper` and `feh`. See details in [the documentation](https://anufrievroman.gitbook.io/waypaper).
2023-08-08 06:44:27 +03:00
2023-08-08 10:03:38 +03:00
![screenshot](screenshot.jpg)
2023-08-09 12:18:56 +03:00
## Features
2023-09-01 11:39:06 +03:00
- Vim keys
- Support for GIF animations (with `swww`)
- Support for multiple monitors (with `swww`)
2024-06-04 09:49:05 +03:00
- Works on Wayland (with `swww` or `swaybg` or `hyprpaper` or `wallutils`)
- Works on Xorg (with `feh` or `wallutils`)
2023-08-10 18:30:42 +03:00
- Restores wallpaper at launch of your WM
2023-08-20 17:45:49 +03:00
- Caching for fast loading
2023-08-09 12:18:56 +03:00
2023-08-08 06:44:27 +03:00
## Installation
2023-08-10 18:30:42 +03:00
You need to install at least one of the backends and Waypaper, which works as a frontend.
2023-08-10 15:40:29 +03:00
2023-08-10 18:30:42 +03:00
### 1. Install a backend
2023-08-10 15:40:29 +03:00
Install a preferred backend from your package manager: [swww](https://github.com/Horus645/swww) or [swaybg](https://github.com/swaywm/swaybg) or [hyprpaper](https://github.com/hyprwm/hyprpaper) on Wayland or [feh](https://github.com/derf/feh) on Xorg or [wallutils](https://github.com/xyproto/wallutils) on both.
2023-08-10 15:40:29 +03:00
2023-08-20 17:45:49 +03:00
### 2. Install Waypaper
2023-08-10 15:40:29 +03:00
2023-08-20 18:37:02 +03:00
Waypaper is available as a package in different repositories listed below:
2023-09-07 04:49:11 +03:00
#### On all distributions
2023-08-10 15:40:29 +03:00
`pipx install waypaper`
2023-08-09 12:18:56 +03:00
2023-08-10 15:22:13 +03:00
If `pipx` is not found, you first need to install `pipx` from your package manager, it's sometimes called `python-pipx`.
2023-09-07 04:49:11 +03:00
#### On Arch-based distributions
2023-08-10 15:22:13 +03:00
2024-06-04 09:49:05 +03:00
`yay -S waypaper` or `yay -S waypaper-git`
2023-08-08 06:44:27 +03:00
2024-06-04 09:49:05 +03:00
The [waypaper](https://aur.archlinux.org/packages/waypaper) and [waypaper-git](https://aur.archlinux.org/packages/waypaper-git) packages are available in AUR, thanks to *metak*. Please upvote to support the project.
2023-08-20 18:37:02 +03:00
2023-09-07 04:49:11 +03:00
#### On NixOS
The `waypaper` package is available thanks to Basil Keeler.
2023-08-20 18:37:02 +03:00
#### On OpenSUSE
Users of OpenSUSE [reported issue with installation](https://github.com/anufrievroman/waypaper/issues/30) via `pipx install waypaper`. This might be resolved by installing the `python311-pycairo-devel` package.
2024-09-01 07:41:31 +03:00
#### 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`.
2024-09-01 07:41:31 +03:00
2023-08-08 06:44:27 +03:00
### Dependencies
2024-06-04 09:49:05 +03:00
- `swww` or `swaybg` or `feh` or `wallutils` or `hyprpaper`
2023-08-08 06:44:27 +03:00
- gobject python library (it might be called `python-gobject` or `python3-gi` or `python3-gobject` in your package manager.)
- `python-importlib_metadata`
- `python-platformdirs`
2023-08-08 06:44:27 +03:00
## Usage
2024-01-04 15:05:19 +03:00
`waypaper` command will run GUI application.
### Options
2024-01-04 15:02:53 +03:00
To restore your wallpaper at launch, add `waypaper --restore` to your startup config.
2024-01-04 15:05:19 +03:00
2024-01-04 15:02:53 +03:00
See more [details on user arguments in the documentation](https://anufrievroman.gitbook.io/waypaper/usage).
2023-08-10 15:22:13 +03:00
2024-01-04 15:02:53 +03:00
### Configuration
2023-08-08 06:44:27 +03:00
2024-01-04 15:02:53 +03:00
See [configuration details in the documentation](https://anufrievroman.gitbook.io/waypaper/configuration).
2023-10-14 10:38:11 +03:00
2024-05-17 04:58:39 +03:00
### Keybindings
See [list of keybindings in the documentation](https://anufrievroman.gitbook.io/waypaper/keybindings).
2024-01-04 15:05:19 +03:00
### Troubleshooting
2023-08-08 06:44:27 +03:00
2024-01-04 15:02:53 +03:00
See typical problems [explained in the documentation](https://anufrievroman.gitbook.io/waypaper/troubleshooting)
2023-08-08 10:03:38 +03:00
2024-01-04 15:05:19 +03:00
## Contribution and support
2023-08-08 06:44:27 +03:00
2024-01-01 22:39:15 +03:00
Feel free to propose PR and suggest the improvements. I'll highly appreciate help with packaging for various distributions. If you wish to contribute with translation into your language, please see the `translations.py` file.
2023-08-10 15:40:29 +03:00
2024-01-02 14:27:15 +03:00
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 [buymeacoffee](https://www.buymeacoffee.com/angryprofessor) or cryptocurrencies:
- BTC `bc1qpkzmutdqfxkce34skt09vll97s5smpa0r2tyzj`
- ETH `0x6f1Ce9cA181458Fc153a5f7cBF88044736C3b00C`
- BNB `0x40f22c372758E35C905458cAF8BB17f51ac133d1`
- LTC `ltc1qtu33qyv2xlzxda5mmrmk943zpksq8q75tuh85p`