From d2e5e0462022af7f2d756d0d8153072cc074e0ab Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sun, 28 Jan 2024 08:01:09 +0000 Subject: [PATCH] Hyprland: restart xdg-desktop-portal after startup --- home/hyprland/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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*" + ''; }; }