From cd8f48aec970d1f3920f409986b4fb47b67aa18a Mon Sep 17 00:00:00 2001 From: Emmet Date: Thu, 15 Aug 2024 21:50:20 -0500 Subject: [PATCH] Fix dbus activation environment --- user/wm/hyprland/hyprland.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index 50e9eda..57c3de8 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -32,12 +32,12 @@ in ]; settings = { }; extraConfig = '' - exec-once = dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY + exec-once = dbus-update-activation-environment --systemd DISPLAY XAUTHORITY WAYLAND_DISPLAY XDG_SESSION_DESKTOP=Hyprland XDG_CURRENT_DESKTOP=Hyprland XDG_SESSION_TYPE=wayland exec-once = hyprctl setcursor '' + config.gtk.cursorTheme.name + " " + builtins.toString config.gtk.cursorTheme.size + '' env = XDG_CURRENT_DESKTOP,Hyprland - env = XDG_SESSION_TYPE,wayland env = XDG_SESSION_DESKTOP,Hyprland + env = XDG_SESSION_TYPE,wayland env = WLR_DRM_DEVICES,/dev/dri/card2:/dev/dri/card1 env = GDK_BACKEND,wayland,x11,* env = QT_QPA_PLATFORM,wayland;xcb