Welcome to the repository for building and installing Hyprland on Void Linux. Here, you'll find templates, binaries, and comprehensive instructions for a seamless installation experience.
This repository provides Void Linux packages, including:
- aquamarine
- hyprland
- hyprland-protocols
- hyprlang
- hyprcursor
- hypridle
- hyprlock
- hyprpaper
- hyprutils
- swayosd
- rofi-wayland
- xdg-desktop-portal-hyprland
The simplest way to install Hyprland on Void Linux is by using our repository. This repository includes binaries automatically built using GitHub Actions.
To add this repository to xbps's repositories, create a configuration file /etc/xbps.d/hyprland-void-repo.conf
with the following content:
echo 'repository=https://github.com/void-land/hyprland-void-packages/releases/latest/download/' | sudo tee /etc/xbps.d/hyprland-packages.conf
Once the repository is added, you can install Hyprland like any other program:
sudo xbps-install -S
sudo xbps-install -Sy hyprland hyprland-devel aquamarine hyprcursor hypridle hyprland-protocols hyprlang hyprlock hyprpaper hyprutils hyprwayland-scanner xdg-desktop-portal-hyprland
You can also search for all Hyprland-related packages:
xbps-query -Rs hypr
To run Hyprland, you may need to install additional packages depending on your setup, such as a session and seat manager and graphics drivers. Additionally, ensure that your user is added to the _seatd
group.
If you need to customize the build, follow these steps to manually build Hyprland:
- Prepare Directories:
mkdir -p ~/repos
cd ~/repos
- Clone void-packages:
git clone https://github.com/void-linux/void-packages
cd void-packages
./xbps-src binary-bootstrap
cd ..
- Clone hyprland-void-packages:
git clone https://github.com/void-land/hyprland-void-packages.git --depth 1
cd hyprland-void-packages
- Update Shared Libraries:
cat common/shlibs >> ../void-packages/common/shlibs
- Copy Source Packages:
cp -r srcpkgs/* ../void-packages/srcpkgs
- Build and Install:
cd ../void-packages
./xbps-src pkg hyprland
sudo xbps-install -R hostdir/binpkgs hyprland