Hyprland

From Alpine Linux
Revision as of 07:10, 9 January 2025 by Prabuanand (talk | contribs) (Added reference to setup-wayland-base script)

This wiki page is about Hyprland, a wayland based tiling compositor with all the eyecandy, powerful plugins and much more.

Refer to hyprland Tutorial to get started on using Hyprland.

The setup-wayland-base script installs and enables elogind as seat manager, enables community repository and enables eudev automatically as these are required for Wayland to work.

Installation

Install the package hyprland using the command:

# apk add hyprland

Troubleshooting

Black/Magenta checkerboard background: Hyprland failed to load 1 essential asset

As of Hyprland 0.45.0, upstream shows a scary message (and an ugly graphic) if you don't have their wallpapers installed.

The ugly graphic goes away when you've launched a wallpaper utility, but the scary message remains.

The canonical way to solve this is to install hyprland-wallpapers package using the command:

# apk add hyprland-wallpapers

Or you can just have some file at /usr/share/hypr/wall0.png or /usr/local/share/hypr/wall0.png and modify your config file to have a line as follows:

Contents of ~/.config/hypr/hyprland.conf

misc {
        force_default_wallpaper = 0
    }

See Also