feat(tazjin/emacs): add screen layout for khamovnik @ home
Change-Id: I5e6213c1ebe74dc799f97a6d6c963c71ef29e66f Reviewed-on: https://cl.tvl.fyi/c/depot/+/8986 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
This commit is contained in:
		
							parent
							
								
									8b870c7ec9
								
							
						
					
					
						commit
						dc1711292f
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
					@ -342,6 +342,15 @@ in-progress."
 | 
				
			||||||
  (shell-command "xrandr --output DP-2 --mode 2560x1440 --primary --right-of eDP-1")
 | 
					  (shell-command "xrandr --output DP-2 --mode 2560x1440 --primary --right-of eDP-1")
 | 
				
			||||||
  (exwm-randr-refresh))
 | 
					  (exwm-randr-refresh))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(defun randr-khamovnik-layout-home ()
 | 
				
			||||||
 | 
					  "Use the left and right screen on khamovnik, at home."
 | 
				
			||||||
 | 
					  (interactive)
 | 
				
			||||||
 | 
					  (set-randr-config `(("HDMI-1" 1 2 3 4 5 6 7 8)
 | 
				
			||||||
 | 
					                      ("eDP-1" 9 0)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  (shell-command "xrandr --output HDMI-1 --auto --primary --left-of eDP-1")
 | 
				
			||||||
 | 
					  (exwm-randr-refresh))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(defun randr-khamovnik-layout-single ()
 | 
					(defun randr-khamovnik-layout-single ()
 | 
				
			||||||
  "Use only the internal screen."
 | 
					  "Use only the internal screen."
 | 
				
			||||||
  (interactive)
 | 
					  (interactive)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue