Add Display Port handling
This commit is contained in:
parent
1868b7a493
commit
37b42223f8
1 changed files with 10 additions and 1 deletions
|
@ -52,7 +52,16 @@ fi
|
||||||
#### Custom ########
|
#### Custom ########
|
||||||
|
|
||||||
# Set external monitor config
|
# Set external monitor config
|
||||||
|
if [[ "$(xrandr | awk '/^VGA/ { print $2 }')" == "connected" ]]; then
|
||||||
xrandr --output VGA1 --primary --above LVDS1
|
xrandr --output VGA1 --primary --above LVDS1
|
||||||
|
elif [[ "$(xrandr | awk '/^DP1/ { print $2 }')" == "connected" ]];then
|
||||||
|
xrandr --output DP1 --primary --above LVDS1
|
||||||
|
else :
|
||||||
|
fi
|
||||||
|
|
||||||
|
# xrandr --output VGA1 --primary --above LVDS1
|
||||||
|
# xrandr --output DP1 --primary --above LVDS1
|
||||||
|
#source "{$HOME}/bash_scripts/connect_monitors.sh"
|
||||||
|
|
||||||
# Set UK keyboard
|
# Set UK keyboard
|
||||||
setxkbmap gb
|
setxkbmap gb
|
||||||
|
|
Loading…
Add table
Reference in a new issue