From df5f42306f46c8044d987fe2a6c19ae5d3853669 Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Fri, 8 May 2026 00:05:13 +0100 Subject: [PATCH] Added proper systemd handshakes to hypr/niri configs --- dot_config/hypr/hyprland.conf | 3 +++ dot_config/niri/config.kdl | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dot_config/hypr/hyprland.conf b/dot_config/hypr/hyprland.conf index 0ff49be..3a8e5fb 100644 --- a/dot_config/hypr/hyprland.conf +++ b/dot_config/hypr/hyprland.conf @@ -1,3 +1,6 @@ +exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE +exec-once = systemctl --user start graphical-session.target + $noctalia = $HOME/.local/bin/noctalia-cli exec-once = $noctalia start # Here for now, until they fix systemd launching diff --git a/dot_config/niri/config.kdl b/dot_config/niri/config.kdl index 50ccf90..673ed74 100644 --- a/dot_config/niri/config.kdl +++ b/dot_config/niri/config.kdl @@ -1,3 +1,6 @@ +spawn-at-startup "dbus-update-activation-environment" "--systemd" "WAYLAND_DISPLAY" "XDG_CURRENT_DESKTOP" "XDG_SESSION_TYPE" +spawn-at-startup "systemctl" "--user" "start" "graphical-session.target" + spawn-sh-at-startup "qs -c noctalia-shell" hotkey-overlay {