waybar: move to systemd service, update clock
This commit is contained in:
		
							parent
							
								
									650b741777
								
							
						
					
					
						commit
						2e9119018c
					
				
					 5 changed files with 44 additions and 24 deletions
				
			
		
							
								
								
									
										6
									
								
								systemd/user/sway-session.target
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								systemd/user/sway-session.target
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,6 @@ | |||
| [Unit] | ||||
| Description=Sway compositor session | ||||
| Documentation=man:systemd.special | ||||
| BindsTo=graphical-session.target | ||||
| Wants=graphical-session-pre.target | ||||
| After=graphical-session-pre.target | ||||
							
								
								
									
										14
									
								
								systemd/user/waybar.service
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								systemd/user/waybar.service
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,14 @@ | |||
| [Unit] | ||||
| Description=Highly customizable Wayland bar for Sway and Wlroots based compositors. | ||||
| Documentation=https://github.com/Alexays/Waybar/wiki/ | ||||
| PartOf=graphical-session.target | ||||
| After=graphical-session.target | ||||
| Requisite=graphical-session.target | ||||
| 
 | ||||
| [Service] | ||||
| ExecStart=env LC_TIME=de_DE.UTF-8 /usr/bin/waybar | ||||
| ExecReload=kill -SIGUSR2 $MAINPID | ||||
| Restart=on-failure | ||||
| 
 | ||||
| [Install] | ||||
| WantedBy=graphical-session.target | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Konstantin Koslowski
						Konstantin Koslowski