Try to fix telegram desktop autostart script

This commit is contained in:
Leonardo Eugênio 2022-12-17 20:21:18 -03:00
parent 354179594e
commit b0537e9900

View file

@ -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" ]; };