Added sway-session.target and stuff
This commit is contained in:
parent
4080b18d49
commit
e4b8dec303
|
@ -53,7 +53,7 @@ in with lib; {
|
||||||
systemd.user.services.mako = {
|
systemd.user.services.mako = {
|
||||||
enable = true;
|
enable = true;
|
||||||
description = "Mako foo";
|
description = "Mako foo";
|
||||||
wantedBy = [ "graphical-session.target" ];
|
wantedBy = [ "sway-session.target" ];
|
||||||
partOf = [ "graphical-session.target" ];
|
partOf = [ "graphical-session.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
|
|
|
@ -61,9 +61,10 @@ in with lib; {
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.sway = {
|
systemd.user.services.sway = {
|
||||||
|
enable = true;
|
||||||
description = "Sway - Wayland window manager";
|
description = "Sway - Wayland window manager";
|
||||||
documentation = [ "man:sway(5)" ];
|
documentation = [ "man:sway(5)" ];
|
||||||
bindsTo = [ "graphical-session.target" ];
|
bindsTo = [ "default.target" ];
|
||||||
wants = [ "graphical-session-pre.target" ];
|
wants = [ "graphical-session-pre.target" ];
|
||||||
after = [ "graphical-session-pre.target" ];
|
after = [ "graphical-session-pre.target" ];
|
||||||
# We explicitly unset PATH here, as we want it to be set by
|
# We explicitly unset PATH here, as we want it to be set by
|
||||||
|
|
Reference in New Issue
Block a user