Move to correct display names, Use j4-make-config to create an i3 config before launching i3.
This commit is contained in:
		
							parent
							
								
									54163f097c
								
							
						
					
					
						commit
						1c587c1c8f
					
				
							
								
								
									
										7
									
								
								.xinitrc
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								.xinitrc
									
									
									
									
									
								
							| @ -37,11 +37,11 @@ xautolock -time 30 -locker 'i3lock -b -d -c 000000 -e -f' & | ||||
| # dtarchaio-specific config: | ||||
| if [ "$(hostname)" == "dtarchaio" ]; then | ||||
| 	# Set HDMI1 to be right of eDP1 | ||||
| 	xrandr --output eDP-1 --auto --output HDMI-1 --right-of eDP-1 | ||||
| 	xrandr --output eDP1 --auto --output HDMI1 --right-of eDP1 | ||||
| 	# Set the bell to be different from Matt's  | ||||
| 	xset b 75 750 50 | ||||
| 	# Set Touchscreen to only work on main display | ||||
| 	xinput --map-to-output $(xinput list --id-only "Advanced Silicon S.A CoolTouch(TM) System") eDP-1 | ||||
| 	xinput --map-to-output $(xinput list --id-only "Advanced Silicon S.A CoolTouch(TM) System") eDP1 | ||||
| fi | ||||
| 
 | ||||
| # If numlockx is installed, turn numlock on | ||||
| @ -64,7 +64,8 @@ case $session in | ||||
| 	fluxbox           ) exec startfluxbox;; | ||||
| 	gnome             ) exec gnome-session;; | ||||
| 	gnome-classic     ) exec gnome-session --session=gnome-classic;; | ||||
| 	i3|i3wm           ) exec i3 -c ~/.config/i3/$(hostname).config;; | ||||
| 	i3|i3wm           ) j4-make-config -a $(hostname).config archlinux # Create config | ||||
| 			    exec i3;; | ||||
| 	icewm             ) exec icewm-session;; | ||||
| 	jwm               ) exec jwm;; | ||||
| 	kde               ) exec startkde;; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user