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