Update
This commit is contained in:
		
							parent
							
								
									3a1e45da46
								
							
						
					
					
						commit
						2607923971
					
				
							
								
								
									
										14
									
								
								rc.lua
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								rc.lua
									
									
									
									
									
								
							| @ -804,6 +804,20 @@ screen.connect_signal("arrange", function (s) | |||||||
|     end |     end | ||||||
| end) | end) | ||||||
| 
 | 
 | ||||||
|  | -- Make wibar not on top when fullscreen clients | ||||||
|  | function toggle_wibar_ontop(c) | ||||||
|  |     if c.fullscreen then | ||||||
|  |         c.screen.mywibox.ontop = false | ||||||
|  |     else | ||||||
|  |         c.screen.mywibox.ontop = true | ||||||
|  |     end | ||||||
|  | end | ||||||
|  | 
 | ||||||
|  | client.connect_signal("manage", toggle_wibar_ontop) | ||||||
|  | client.connect_signal("focus", toggle_wibar_ontop) | ||||||
|  | client.connect_signal("property::floating", toggle_wibar_ontop) | ||||||
|  | client.connect_signal("property::fullscreen", toggle_wibar_ontop) | ||||||
|  | 
 | ||||||
| -- awful.screen.set_auto_dpi_enabled(true) | -- awful.screen.set_auto_dpi_enabled(true) | ||||||
| 
 | 
 | ||||||
| -- load the widget code | -- load the widget code | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user