Name: noctalia-hyprland-meta Version: 0.1 Release: 1%{?dist} Summary: Meta-package to kickstart noctalia-shell on Hyprland BuildArch: noarch License: MIT Source0: hyprland.conf Requires: hyprland Requires: hyprland-guiutils Requires: noctalia-shell %description A meta-package that installs hyprland and noctalia-shell. It provides a base hyprland configuration in /etc/skel to ensure noctalia-shell is automatically executed on first run for new users. %prep %build %install mkdir -p %{buildroot}/etc/skel/.config/hypr install -pm 0644 %{SOURCE0} %{buildroot}/etc/skel/.config/hypr/ %post if [ -n "$SUDO_USER" ]; then USER_HOME=$(getent passwd "$SUDO_USER" | cut -d: -f6) USER_CONF="$USER_HOME/.config/hypr/hyprland.conf" if [ ! -f "$USER_CONF" ]; then mkdir -p "$(dirname "$USER_CONF")" cp /etc/skel/.config/hypr/hyprland.conf "$USER_CONF" chown -R "$SUDO_USER:" "$(dirname "$USER_CONF")" fi fi %files %dir /etc/skel/.config/hypr /etc/skel/.config/hypr/hyprland.conf %changelog * Sun Mar 29 2026 LionHeartP - 0.1-1 - Initial release