Add Display Port handling

This commit is contained in:
tactonbishop 2022-05-15 13:28:44 +01:00
parent 1868b7a493
commit 37b42223f8

View file

@ -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