Krolyxon
Commit fb86a84

Branches

Refs →

aurorafb86a84

hypr: pass login env to systemd before starting aurora

Author
krolyxon
Date
2026-10-19 22:50 +0530
Parent
090f586
Commit
fb86a846e0e9883add2af30611c1a48654319be1

+2 −1

1 file changed

  1. M .config/hypr/hyprland.lua +2 −1
M .config/hypr/hyprland.lua View
@@ -20,7 +20,8 @@ hl.on("hyprland.start", function()
2020 hl.exec_cmd("wl-paste --type image --watch cliphist store")
2121 hl.exec_cmd("hyprpm reload -n")
2222 hl.exec_cmd("kanshi")
23− hl.exec_cmd("systemctl --user start aurora")
23+ -- aurora is a systemd unit: hand it the login env (.zprofile: SUDO_ASKPASS, EDITOR, XDG dirs, ...)
24+ hl.exec_cmd("dbus-update-activation-environment --systemd --all && systemctl --user start aurora")
2425 -- hl.exec_cmd("waybar")
2526 -- hl.exec_cmd("swaync")
2627 hl.exec_cmd("gammastep")