restore sway for xwayland support
This commit is contained in:
@@ -38,22 +38,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
xdg.configFile."environment.d/xwayland.conf".text = "DISPLAY=:0\n";
|
||||
|
||||
systemd.user.services.xwayland-satellite = {
|
||||
Unit = {
|
||||
Description = "Xwayland for niri";
|
||||
BindsTo = [ "graphical-session.target" ];
|
||||
After = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${pkgs.xwayland-satellite}/bin/xwayland-satellite";
|
||||
ExecStartPost = "${pkgs.systemd}/bin/systemctl --user set-environment DISPLAY=:0";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# wayland / desktop
|
||||
libnotify
|
||||
|
||||
Reference in New Issue
Block a user