Change display names according to xrandr update

This commit is contained in:
David Thurstenson 2016-10-12 10:06:25 -05:00
parent b8ec9b4b57
commit f1d4eaa206
1 changed files with 3 additions and 2 deletions

View File

@ -25,6 +25,7 @@ fi
#== Thurstylark additions below ==# #== Thurstylark additions below ==#
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK export SSH_AUTH_SOCK
@ -37,11 +38,11 @@ xautolock -time 30 -locker 'i3lock -b -d -c 000000 -e -f' &
if [ "$(hostname)" == "dtarchaio" ]; then if [ "$(hostname)" == "dtarchaio" ]; then
# Set HDMI1 to be right of eDP1 # Set HDMI1 to be right of eDP1
xrandr --output eDP1 --auto --output HDMI1 --right-of eDP1 xrandr --output eDP-1 --auto --output HDMI-1 --right-of eDP-1
# Set the bell to be different from Matt's # Set the bell to be different from Matt's
xset b 75 750 50 xset b 75 750 50
# Set Touchscreen to only work on main display # Set Touchscreen to only work on main display
xinput --map-to-output $(xinput list --id-only "Advanced Silicon S.A CoolTouch(TM) System") eDP1 xinput --map-to-output $(xinput list --id-only "Advanced Silicon S.A CoolTouch(TM) System") eDP-1
fi fi
# If numlockx is installed, activate it # If numlockx is installed, activate it