some small fixes for awesome
This commit is contained in:
		
							parent
							
								
									9a493e7516
								
							
						
					
					
						commit
						62708b7222
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		
							
								
								
									
										5
									
								
								rc.lua
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								rc.lua
									
										
									
									
									
								
							| 
						 | 
					@ -188,7 +188,6 @@ tags[1].layout = {
 | 
				
			||||||
-- screens 2+
 | 
					-- screens 2+
 | 
				
			||||||
if screen.count() >= 2 then
 | 
					if screen.count() >= 2 then
 | 
				
			||||||
	tags[2].layout = {
 | 
						tags[2].layout = {
 | 
				
			||||||
		[1] = layouts.float[1]
 | 
					 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
-- Fill the missing values with defaults
 | 
					-- Fill the missing values with defaults
 | 
				
			||||||
| 
						 | 
					@ -226,8 +225,8 @@ mymainmenu_restart = {
 | 
				
			||||||
	{ 'restart', awesome.restart }
 | 
						{ 'restart', awesome.restart }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
mymainmenu_screens = {
 | 
					mymainmenu_screens = {
 | 
				
			||||||
	{ 'one', function() awful.util.spawn('xrandr --output HDMI1 --off') end },
 | 
						{ 'one', function() awful.util.spawn_with_shell('1monitor') end },
 | 
				
			||||||
	{ 'two', function() awful.util.spawn('xrandr --output eDP1 --auto --output HDMI1 --primary --auto --right-of eDP1') end }
 | 
						{ 'two', function() awful.util.spawn_with_shell('2monitors') end }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
--mymainmenu_quit = {
 | 
					--mymainmenu_quit = {
 | 
				
			||||||
--	{ 'quit', awesome.quit }
 | 
					--	{ 'quit', awesome.quit }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue