Build Hyprland on PostmarketOs from git source. The version packaged in pmos is fairly old and doesn't support some of the new features shipped with newer versions. For instance you can now interact with a layer in the lockscreen by setting the layer rule above_lock to 2; this allows you to use any screen locker that supports the ext-session-lock protocol, like hyprlock, and unlock your device using an OSK (effectively a layer in hyprland), like wvkbd.
The following installation was tested on:
- OnePlus 6T (fajita)
- for Hyprland:
sudo apk add bash git build-base cmake meson pixman-dev cairo-dev pango-dev libjpeg-turbo-dev libwebp-dev librsvg-dev file-dev udis86-git-dev mesa-egl mesa-gles mesa-dev pugixml-dev libinput-dev wayland-dev wayland-protocols-dev libdisplay-info-dev hwdata-dev libzip-dev tomlplusplus-dev bison libxcursor-dev re2-dev muparser-dev xcb-util-wm-dev xcb-util-errors-dev cpio libxcomposite-dev xcb-util-keysyms xcb-util-keysyms-dev libliftoff cpio hyprland-protocols docker iniparser-dev glslang-dev spirv-tools-dev lua5.5-dev- for the rest of my installation (utilities & config):
sudo apk add slurp grim wl-clipboard glm-dev gtkmm4-dev gtk4-layer-shell-dev alacritty waybar hypridle swaybg jq hyprlock dunst neovim scdoc font-awesome-free brightnessctl- To install Hyprland:
cd ~/hyprland-on-pmos
sudo chmod +x install.sh
cd ..
sudo hyprland-on-pmos/install.sh- To install utilities and apply my config:
cd ~/hyprland-on-pmos
sudo chmod +x install_config.sh
cd ..
hyprland-on-pmos/install_config.sh- To update:
cd ~/hyprland-on-pmos
sudo chmod +x update.sh
cd ..
sudo hyprland-on-pmos/update.shSome dependencies might not be required anymore.
Other than of course Hyprland and PostmarketOs, the list contains (in no particular order):
- sys64
- wvkbd
- waybar
- lisgd
- hyprshot
- alacritty





