-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
echo starting inital setup ... | ||
|
||
xrandr \ | ||
--output DP-2 --off --transform none \ | ||
--output HDMI-1 --off --transform none \ | ||
--output eDP-1 --mode 3840x2160 --scale-from 2560x1080 | ||
|
||
sleep 3 | ||
|
||
echo initial setup complete, setting up first extra screen ... | ||
|
||
xrandr \ | ||
--output eDP-1 --pos 0x0 \ | ||
--output DP-2 --auto --same-as eDP-1 | ||
|
||
sleep 2 | ||
|
||
echo setting up second extra screen ... | ||
|
||
xrandr \ | ||
--output DP-2 --auto \ | ||
--output HDMI-1 --auto --pos 2560x0 --rotate left | ||
|
||
echo Done |