Try to fix telegram desktop autostart script
This commit is contained in:
parent
354179594e
commit
b0537e9900
|
@ -28,10 +28,10 @@
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Telegram Internet chat";
|
Description = "Telegram Internet chat";
|
||||||
PartOf = [ "graphical-session.target" ];
|
PartOf = [ "graphical-session.target" ];
|
||||||
After = [ "graphical-session.target" ];
|
After = [ "graphical-session.target" "pipewire-pulse.service" ];
|
||||||
};
|
};
|
||||||
Service = {
|
Service = {
|
||||||
ExecStart = "${pkgs.tdesktop}/bin/telegram-desktop";
|
ExecStart = "${pkgs.sway}/bin/swaymsg exec -- ${pkgs.tdesktop}/bin/telegram-desktop";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
};
|
};
|
||||||
Install = { WantedBy = [ "sway-session.target" ]; };
|
Install = { WantedBy = [ "sway-session.target" ]; };
|
||||||
|
|
Loading…
Reference in a new issue