hyprland: dbus/systemd import some more theme related variables

This commit is contained in:
ItsDrike 2024-06-27 15:42:37 +02:00
parent a39d39ec1e
commit 4660bc0046
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -1,8 +1,8 @@
{pkgs, ...}: {
wayland.windowManager.hyprland.settings = {
exec-once = [
"${pkgs.systemd}/bin/systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"${pkgs.systemd}/bin/dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=$XDG_CURRENT_DESKTOP"
"${pkgs.systemd}/bin/systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP GTK_THEME QT_QPA_PLATFORMTHEME QT_STYLE_OVERRIDE"
"${pkgs.systemd}/bin/dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP GTK_THEME QT_QPA_PLATFORMTHEME QT_STYLE_OVERRIDE"
];
};
}