corrected display layout for work computer
This commit is contained in:
parent
575f2f7b26
commit
e24166d147
18
.xinitrc
18
.xinitrc
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
userresources=$HOME/.Xresources
|
||||
usermodmap=$HOME/.Xmodmap
|
||||
|
@ -32,22 +32,18 @@ export SSH_AUTH_SOCK
|
|||
xautolock -time 30 -locker 'i3lock -b -d -c 000000 -e -f' &
|
||||
|
||||
# Thurstybook-specific config:
|
||||
[[ "$HOSTNAME" == "thurstybook" ]] && srandrd ~/.config/srandrd.conf
|
||||
[ "$(hostname)" == "thurstybook" ] && srandrd ~/.config/srandrd.conf
|
||||
|
||||
|
||||
if [[ "$HOSTNAME" == "dtarch" ]]; then
|
||||
[ "$(hostname)" == "dtarch" ] && {
|
||||
# Set VGA1 to be right of HDMI1
|
||||
xrandr --output VGA1 --auto --right-of HDMI1
|
||||
# Set VGA1 to be a bit lower because of mouse issues
|
||||
xrandr --output VGA1 --pos 1600x-150
|
||||
xrandr --output HDMI1 --primary
|
||||
|
||||
xrandr --output HDMI1 --primary --mode 1920x1080 --pos 0x0 --output VGA1 --mode 1680x1050 --pos 1920x0
|
||||
# Set the bell to be different from Matt's
|
||||
xset b 75 750 50
|
||||
fi
|
||||
}
|
||||
|
||||
# If numlockx is installed, activate it
|
||||
[[ -s /usr/bin/numlockx ]] && numlockx on
|
||||
[ -s /usr/bin/numlockx ] && numlockx on
|
||||
|
||||
|
||||
session=${1:-i3}
|
||||
|
@ -63,7 +59,7 @@ case $session in
|
|||
fluxbox ) exec startfluxbox;;
|
||||
gnome ) exec gnome-session;;
|
||||
gnome-classic ) exec gnome-session --session=gnome-classic;;
|
||||
i3|i3wm ) exec i3 -c ~/.config/i3/$HOSTNAME.config;;
|
||||
i3|i3wm ) exec i3 -c ~/.config/i3/$(hostname).config;;
|
||||
icewm ) exec icewm-session;;
|
||||
jwm ) exec jwm;;
|
||||
kde ) exec startkde;;
|
||||
|
|
Loading…
Reference in New Issue