enable xwayland-satellite again

This commit is contained in:
Noa Aarts 2024-11-22 22:06:19 +01:00
parent d9506ad634
commit 04f231a675
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -205,7 +205,13 @@ in
services = lib.mkMerge [
{
spotify = {
spotify =
let
spotify = (
pkgs.writeShellScriptBin "spotify" ''${pkgs.spotify}/bin/spotify --enable-features=UseOzonePlatform --ozone-platform=wayland''
);
in
{
Install = {
WantedBy = [ "niri.service" ];
};
@ -217,7 +223,8 @@ in
};
Service = {
ExecStart = "spotify";
ExecStart = "${spotify}/bin/spotify";
Type = "exec";
};
};
@ -234,6 +241,26 @@ in
Service = {
ExecStart = "${pkgs.mako}/bin/mako";
Type = "exec";
Restart = "on-failure";
};
};
xwayland = {
Install = {
WantedBy = [ "niri.service" ];
};
Unit = {
PartOf = "graphical-session.target";
After = "graphical-session.target";
Requisite = "graphical-session.target";
};
Service = {
ExecStart = "${pkgs.xwayland-satellite}/bin/xwayland-satellite";
Type = "exec";
Restart = "on-failure";
};
};
}
@ -431,7 +458,7 @@ in
backgroundColor = "#000000AA";
# make notifications time out after 30 sec by default
defaultTimeout = 30000;
borderColor = config.colorScheme.palette.base00;
borderColor = "#${config.colorScheme.palette.base00}FF";
};
playerctld.enable = true;
# sync my password store and homework