nowe podejście
This commit is contained in:
		
							
								
								
									
										17
									
								
								.config/systemd/user/mysway.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								.config/systemd/user/mysway.service
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| [Unit] | ||||
| Description=mySway.py script | ||||
| Documentation=mySway | ||||
| PartOf=sway-session.target | ||||
|  | ||||
| [Service] | ||||
| Type=simple | ||||
| Environment="XDG_CURRENT_DESKTOP=Unity" | ||||
| ExecStart=/home/paramah/.config/sway/bin/mysway.py | ||||
| ExecReload=kill -SIGUSR2 $MAINPID | ||||
| ExecStop=/bin/kill -2 $MAINPID | ||||
| Restart=on-failure | ||||
| RestartSec=1 | ||||
| TimeoutStopSec=10 | ||||
|  | ||||
| [Install] | ||||
| WantedBy=sway-session.target | ||||
		Reference in New Issue
	
	Block a user