Systemd session target for Hyprland
Put hyprland-session.target
in your systemd/user
directory, Hyprland-target.sh
in /usr/bin
and hyprland-session.desktop
in /usr/share/wayland-sessions/
. Then put in yout Hyprland configuration in this exact order
exec-once = dbus-update-activation-environment --systemd --all; systemctl --user start hyprland-session.target
Just use Hyprland-target.sh
in place of Hyprland
.