fix(config): adjust modus directory path and clarify env var handling to avoid Gdk-CRITICAL

This commit is contained in:
sankalp committed 2026-07-08 12:25:40 +05:45
1 parent 79f4ee4d4a
commit 5ba2278de2
1 file changed
+5 -4
+5 -4
View File
@@ -1,10 +1,11 @@
-- local modus = "$HOME/.config/Modus"
local modus = "$HOME/Projects/dev/Modus"
-- Global Menu env is set by Modus's _setup_environment() at runtime via
-- hyprctl keyword env, so it doesn't affect Modus's own windows.
-- (Setting it here via hl.env would cause Modus's GTK windows to also load
-- appmenu-gtk-module, triggering Gdk-CRITICAL assertion failures.)
-- Global Menu env vars set by environment.py at runtime:
-- ~/.config/environment.d/appmenu.conf
-- ~/.pam_environment
-- systemctl --user set-environment
-- (Setting via hl.env here would trigger Gdk-CRITICAL in Modus's own GTK windows.)
hl.on("hyprland.start", function()
local cmds = {