fixes to lots of little things
This commit is contained in:
		
							parent
							
								
									7ec8d23541
								
							
						
					
					
						commit
						c1075fa964
					
				
					 4 changed files with 13 additions and 3 deletions
				
			
		
							
								
								
									
										9
									
								
								scripts/bar.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										9
									
								
								scripts/bar.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,9 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
wb=$(pgrep waybar)
 | 
			
		||||
 | 
			
		||||
if [[ "$wb" -gt 1 ]]; then
 | 
			
		||||
    kill $wb
 | 
			
		||||
else
 | 
			
		||||
    exec waybar &
 | 
			
		||||
fi
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue