Last active
September 24, 2018 07:10
-
-
Save hamdouni/da4603492ca856e85e4a1a6ec6bfe4fa to your computer and use it in GitHub Desktop.
Get the other connected monitor (not the internal) and configure it above
This file contains hidden or 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
#!/bin/sh | |
# get the other connected monitor (not the internal) | |
other=`xrandr |grep " connected" | awk '{print $1}' | grep -v 'eDP-1\|^$i'` | |
xrandr --output eDP-1 --auto --below $other --output $other --auto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment