Try to fix telegram desktop autostart script
This commit is contained in:
		
							parent
							
								
									354179594e
								
							
						
					
					
						commit
						b0537e9900
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue