30 lines
		
	
	
		
			572 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			572 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
| # Systemd service to start DWL
 | |
| # --
 | |
| #
 | |
| # Put this file in following directory:
 | |
| #
 | |
| #  ~/.config/systemd/user
 | |
| #
 | |
| # Start this service with something like this:
 | |
| #
 | |
| #  #!/usr/bin/env bash
 | |
| #
 | |
| #  # Start DWL
 | |
| #
 | |
| #  systemctl --user import-environment && \
 | |
| #  systemctl --wait --user start dwl.service
 | |
| #
 | |
| [Unit]
 | |
| Description=DWL service
 | |
| BindsTo=graphical-session.target
 | |
| Wants=graphical-session-pre.target
 | |
| After=graphical-session-pre.target
 | |
| 
 | |
| [Service]
 | |
| Type=simple
 | |
| EnvironmentFile=-%h/.config/dwl/env
 | |
| ExecStart=/home/mahesh/bin/dwl.session
 | |
| Restart=on-failure
 | |
| RestartSec=1
 | |
| TimeoutStopSec=10
 |