Fixed width wibar
This commit is contained in:
		
							parent
							
								
									dcaf91e0a8
								
							
						
					
					
						commit
						b34ae531ea
					
				
							
								
								
									
										2
									
								
								rc.lua
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								rc.lua
									
									
									
									
									
								
							@ -261,7 +261,7 @@ awful.screen.connect_for_each_screen(function(s)
 | 
				
			|||||||
    -- Create the wibox
 | 
					    -- Create the wibox
 | 
				
			||||||
    local wibar_height = 15
 | 
					    local wibar_height = 15
 | 
				
			||||||
    if s == screen.primary then
 | 
					    if s == screen.primary then
 | 
				
			||||||
        local wibar_width = s.geometry.width / 5
 | 
					        local wibar_width = 512
 | 
				
			||||||
        local wibar_height = 15
 | 
					        local wibar_height = 15
 | 
				
			||||||
        s.mywibox = wibox({
 | 
					        s.mywibox = wibox({
 | 
				
			||||||
            x = s.geometry.x + s.geometry.width - wibar_width,
 | 
					            x = s.geometry.x + s.geometry.width - wibar_width,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user