Skip to content

Instantly share code, notes, and snippets.

@Fleafa
Created March 28, 2023 12:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fleafa/308f09884807df3a2fbd2113f9188ff9 to your computer and use it in GitHub Desktop.
Save Fleafa/308f09884807df3a2fbd2113f9188ff9 to your computer and use it in GitHub Desktop.
Installing Hyprland on Artix Linux on Linx1010B Bay Trail 32bit EFI 64bit CPU

Continuing Linx1010B Artix

Hyprland openrc Artix Linux on Linx1010B

TODO:

  • add section of environment variables
  • add section on launching
  • add section on config

Installing Hyprland without systemd

paru -S gdb ninja gcc cmake meson libxcb xcb-proto xcb-util xcb-util-keysyms libxfixes libx11 libxcomposite xorg-xinput libxrender pixman wayland-protocols cairo pango seatd libxkbcommon xcb-util-wm xorg-xwayland libinput libliftoff libdisplay-info
cd /tmp && git clone --recursive https://github.com/hyprwm/Hyprland && cd Hyprland
make clear && sudo make config && make protocols
mkdir -p build && cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DNO_SYSTEMD:STRING=true -H./ -B./build -G Ninja
cmake --build ./build --config Release --target all -j $(nproc)
sudo cp ./build/Hyprland /usr/bin && sudo cp ./example/hyprland.desktop /usr/share/wayland-sessions

Install hyprctl & libwlroots

mkdir -p /tmp/Hyprland/releases && cd /tmp/Hyprland/releases
wget https://github.com/hyprwm/Hyprland/releases/download/v0.23.0beta/v0.23.0beta.tar.gz
tar xzf v0.23.0beta.tar.gz
cp /tmp/Hyprland/releases/Hyprland/hyprctl /usr/bin/
cp /tmp/Hyprland/releases/Hyprland/libwlroots /usr/lib/

Install supporting apps

paru -S foot eww swaylock swayidle swaybg sway-launcher-desktop

Configure

mkdir -p ~/.config/hypr && cd ~/.config/hypr
wget https://raw.githubusercontent.com/hyprwm/Hyprland/main/example/hyprland.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment