Skip to content

engjpacheco/hypr-void

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Install Hyprland in voidlinux.

Install needed packages and avoid issues with ssl.

#!/bin/sh

# Created By: Javier Pacheco - javier@jpacheco.xyz
# Created On: 08/02/24
# Project: Script that install hyprland in voidlinux

doas xbps-install dbus seatd polkit elogind mesa-dri kitty

Cloning the needed repositories:

void-packages

cd $HOME
[ -d $HOME/.local/src/ ] && echo "~/.local/src/ folder exits in the system." || mkdir -p $HOME/.local/src/
cd $HOME/.local/src
git clone https://github.com/void-linux/void-packages --depth 1

Third party hyprland-void sources.

git clone https://github.com/Makrennel/hyprland-void --depth 1

Building xbps-src.

cd void-packages
./xbps-src binary-bootstrap 

Append shared libraries to void-packages

cd ../hyprland-void
cat common/shlibs >> ../void-packages/common/shlibs
cp -r srcpkgs/* ../void-packages/srcpkgs

Build and install the packages:

cd ../void-packages
./xbps-src pkg hyprland
./xbps-src pkg xdg-desktop-portal-hyprland
./xbps-src pkg hyprland-protocols
doas xbps-install -R hostdir/binpkgs hyprland
doas xbps-install -R hostdir/binpkgs hyprland-protocols
doas xbps-install -R hostdir/binpkgs xdg-desktop-portal-hyprland

Enable services.

doas ln -s /etc/sv/dbus /var/service
doas ln -s /etc/sv/polkitd /var/service
doas ln -s /etc/sv/seatd /var/service

Add user to seatd group.

doas usermod -aG _seatd $USER

Clean folders when finish the installation.

rm -rf ./local/src/void-packages
rm -rf ./local/src/hyprland-void
echo "Folders was removed from this device."

About

Script installer to set Hyprland in voidlinux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages