switch to not using a display manager at all
This commit is contained in:
		
							parent
							
								
									cd9928de1a
								
							
						
					
					
						commit
						caacc07196
					
				
					 2 changed files with 7 additions and 0 deletions
				
			
		
							
								
								
									
										4
									
								
								shellrc
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								shellrc
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -201,6 +201,10 @@ seconds-to-hr() {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
tmuxrc() { tmux source-file "${HOME}/.tmux.conf"; tmux display-message "Config reloaded."; }
 | 
			
		||||
 | 
			
		||||
if [[ -z "${DISPLAY}" ]]; then
 | 
			
		||||
	x() { exec xinit -- :0 -nolisten tcp vt$XDG_VTNR; }
 | 
			
		||||
fi
 | 
			
		||||
# }}}
 | 
			
		||||
if is_zsh; then
 | 
			
		||||
# zsh
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										3
									
								
								xinitrc
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								xinitrc
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
xrandr --output HDMI1 --primary --mode 1920x1080 --pos 0x0 --output VGA1 --mode 1280x1024 --pos 1920x56
 | 
			
		||||
xkbcomp $DISPLAY - | egrep -v "group . = AltGr;" | xkbcomp - $DISPLAY
 | 
			
		||||
exec awesome
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue