Hyprland: restart xdg-desktop-portal after startup

This commit is contained in:
Evie Litherland-Smith 2024-01-28 08:01:09 +00:00
parent ce885c3181
commit d2e5e04620

View file

@ -133,8 +133,6 @@
"GRIM_DEFAULT_DIR=${xdg.userDirs.pictures}/Grim" "GRIM_DEFAULT_DIR=${xdg.userDirs.pictures}/Grim"
]; ];
exec-once = with config; [ 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}" "hyprctl setcursor ${gtk.theme.name} ${toString gtk.cursorTheme.size}"
"git -C $HOME/.emacs pull --ff-only; emacs --fg-daemon" "git -C $HOME/.emacs pull --ff-only; emacs --fg-daemon"
"swaync" "swaync"
@ -344,5 +342,9 @@
"SUPER, mouse:273, resizewindow" "SUPER, mouse:273, resizewindow"
]; ];
}; };
extraConfig = ''
exec-once = systemctl --user import-environment WAYLAND_DISPLAY QT_QPA_PLATFORMTHEME
exec-once = systemctl --user restart "xdg-desktop-portal*"
'';
}; };
} }