diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index ecb4f3c2..5fb0cae1 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -133,8 +133,6 @@ "GRIM_DEFAULT_DIR=${xdg.userDirs.pictures}/Grim" ]; exec-once = with config; [ - "dbus-update-activation-environment --systemd --all" - "systemctl --user import-environment WAYLAND_DISPLAY QT_QPA_PLATFORMTHEME" "hyprctl setcursor ${gtk.theme.name} ${toString gtk.cursorTheme.size}" "git -C $HOME/.emacs pull --ff-only; emacs --fg-daemon" "swaync" @@ -344,5 +342,9 @@ "SUPER, mouse:273, resizewindow" ]; }; + extraConfig = '' + exec-once = systemctl --user import-environment WAYLAND_DISPLAY QT_QPA_PLATFORMTHEME + exec-once = systemctl --user restart "xdg-desktop-portal*" + ''; }; }