Damien Coles 585ff542f2 changed hyprland from GCC to clang;
fixed hyprland.desktop with emerge hook for custom hyprland-start wrapper
2026-01-26 16:11:07 -05:00

11 lines
311 B
Bash

# Portage hooks
post_pkg_postinst() {
case "${CATEGORY}/${PN}" in
gui-wm/hyprland)
sed -i 's|Exec=.*|Exec=/usr/local/bin/start-hyprland-dbus|' /usr/share/wayland-sessions/hyprland.desktop
einfo "Updated hyprland.desktop to use start-hyprland-dbus"
;;
esac
}