hyprland-wiki/content/Hypr Ecosystem/hyprpaper.md

1.7 KiB

weight title
1 hyprpaper

hyprpaper is a fast, IPC-controlled wallpaper utility for Hyprland.

Installation

{{% details title="Arch" closed="true" %}}

pacman -S hyprpaper

{{% /details %}}

{{% details title="openSUSE" closed="true" %}}

zypper install hyprpaper

{{% /details %}}

{{% details title="Fedora" closed="true" %}}

sudo dnf install hyprpaper

{{% /details %}}

Configuration

The config file is located at ~/.config/hypr/hyprpaper.conf. It is not required.

Setting wallpapers

Wallpapers are set as anonymous special categories. Monitor can be left empty for a fallback.

wallpaper {
    monitor = DP-3
    file = ~/myFile.jxl
    fit_mode = cover
}

wallpaper {
    monitor = DP-2
    file = ~/myFile2.jxl
    fit_mode = cover
}

# ...

fit_mode is optional and defaults to cover.

Run at Startup

To run hyprpaper at startup edit hyprland.conf and add: exec-once = hyprpaper.
If you start Hyprland with uwsm, you can also use the systemctl --user enable --now hyprpaper.service command.

Misc Options

variable description type default
splash enable rendering of the hyprland splash over the wallpaper bool false
splash_offset how far up should the splash be displayed float 20
splash_opacity how opaque the splash is float 0.8
ipc whether to enable IPC bool true

IPC

hyprpaper supports IPC via hyprctl. You can set wallpapers like so:

hyprctl hyprpaper wallpaper '[mon], [path], [fit_mode]

fit_mode is optional, and mon can be empty for a fallback, just like in the config file.