waypaper/README.md

87 lines
3.4 KiB
Markdown
Raw Normal View History

2023-08-08 06:44:27 +03:00
# Waypaper
2024-01-04 15:02:53 +03:00
GUI wallpaper setter for Wayland and Xorg window managers. It works as a frontend for popular wallpaper backends like `swaybg`, `swww`, `wallutils` and `feh`. You can check a [demo on reddit](https://www.reddit.com/r/unixporn/comments/15lbhuc/hyprland_waypaper_gui_wallpaper_setter_for_wayland/). 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`)
- Works on both Wayland (with `swww` or `swaybg` or `wallutils`) and 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) 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
2023-08-10 15:40:29 +03:00
`yay -S waypaper-git`
2023-08-08 06:44:27 +03:00
2023-08-20 18:37:02 +03:00
The [waypaper-git](https://aur.archlinux.org/packages/waypaper-git) package is available in AUR, thanks to *metak*. Please upvote to support the project.
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.
2023-08-08 06:44:27 +03:00
### Dependencies
- `swww` or `swaybg` or `feh` or `wallutils`
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`