mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-24 17:34:35 +00:00
Import wayland vars to systemd & dbus on hyprland start
This commit is contained in:
parent
12ae728903
commit
a0b525dc16
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
{pkgs, ...}: {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
exec-once = [
|
||||
# TODO: Add this (probably only vesktop)
|
||||
"${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"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue