feat(bin): Add 2 new scripts for screens
* ecran_maison to activate external monitors for laptop (framework) * ecran_framework to deactivate external monitors and use laptop one (framework)
This commit is contained in:
		@@ -2,6 +2,7 @@
 | 
				
			|||||||
#
 | 
					#
 | 
				
			||||||
# ecran_framework
 | 
					# ecran_framework
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
 | 
					<<<<<<< HEAD
 | 
				
			||||||
# Désactive les écrans. N'active que celui du PC portable Framework
 | 
					# Désactive les écrans. N'active que celui du PC portable Framework
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Écran principal : Iiyama North America PL2474H 11669V9B05959
 | 
					# Écran principal : Iiyama North America PL2474H 11669V9B05959
 | 
				
			||||||
@@ -21,3 +22,13 @@ swaymsg output "${otherscreen}" disable
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Allume l'écran du PC portable
 | 
					# Allume l'écran du PC portable
 | 
				
			||||||
swaymsg output "${laptopscreen}" enable
 | 
					swaymsg output "${laptopscreen}" enable
 | 
				
			||||||
 | 
					=======
 | 
				
			||||||
 | 
					# Désactive les écrans. N'active que celui du laptop Framework
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Éteint DP-9, DP-10
 | 
				
			||||||
 | 
					wlr-randr --output DP-9 --off
 | 
				
			||||||
 | 
					wlr-randr --output DP-10 --off
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Allume l'écran du PC portable
 | 
				
			||||||
 | 
					wlr-randr --output eDP-1 --on
 | 
				
			||||||
 | 
					>>>>>>> 120388f (feat(bin): Add 2 new scripts for screens)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,6 +3,7 @@
 | 
				
			|||||||
# ecran_maison
 | 
					# ecran_maison
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Active les 2 écrans de la maison sur le Dock Station branché.
 | 
					# Active les 2 écrans de la maison sur le Dock Station branché.
 | 
				
			||||||
 | 
					<<<<<<< HEAD
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Écran principal : Iiyama North America PL2474H 11669V9B05959
 | 
					# Écran principal : Iiyama North America PL2474H 11669V9B05959
 | 
				
			||||||
# Écran secondaire : Iiyama North America PLX2283H 1159495081860
 | 
					# Écran secondaire : Iiyama North America PLX2283H 1159495081860
 | 
				
			||||||
@@ -29,3 +30,20 @@ swaymsg output "${mainscreen}" pos 0 840
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Éteint l'écran du PC portable
 | 
					# Éteint l'écran du PC portable
 | 
				
			||||||
swaymsg output "${laptopscreen}" disable
 | 
					swaymsg output "${laptopscreen}" disable
 | 
				
			||||||
 | 
					=======
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Active DP-10
 | 
				
			||||||
 | 
					wlr-randr --output DP-10 --on
 | 
				
			||||||
 | 
					# Tourne l'écran de droite de 90°
 | 
				
			||||||
 | 
					wlr-randr --output DP-10 --transform 90
 | 
				
			||||||
 | 
					# Déplace l'écran de droite à 1920px (pour rester à droite)
 | 
				
			||||||
 | 
					wlr-randr --output DP-10 --pos 1920,0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Active DP-9
 | 
				
			||||||
 | 
					wlr-randr --output DP-9 --on
 | 
				
			||||||
 | 
					# Descend l'écran principal vers le bas de 840px
 | 
				
			||||||
 | 
					wlr-randr --output DP-9 --pos 0,840
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Éteint l'écran du PC portable
 | 
				
			||||||
 | 
					wlr-randr --output eDP-1 --off
 | 
				
			||||||
 | 
					>>>>>>> 120388f (feat(bin): Add 2 new scripts for screens)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user