Merge pull request #844 from tchebb/add-sway-module-margins
style: add 4px margins to window and workspaces modules
This commit is contained in:
		
						commit
						ff0d3292a4
					
				| 
						 | 
				
			
			@ -83,6 +83,21 @@ window#waybar.chromium {
 | 
			
		|||
    color: #ffffff;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#window,
 | 
			
		||||
#workspaces {
 | 
			
		||||
    margin: 0 4px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* If workspaces is the leftmost module, omit left margin */
 | 
			
		||||
.modules-left > widget:first-child > #workspaces {
 | 
			
		||||
    margin-left: 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* If workspaces is the rightmost module, omit right margin */
 | 
			
		||||
.modules-right > widget:last-child > #workspaces {
 | 
			
		||||
    margin-right: 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#clock {
 | 
			
		||||
    background-color: #64727D;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue