You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
437 B

#!/bin/sh
#
[ -f ~/.xprofile ] && . ~/.xprofile
if [ $HOST = 'ianmethyst-desktop-arch' ]; then
xrandr --output DisplayPort-0 --off --output DisplayPort-1 --off --output DisplayPort-2 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-A-0 --off --output DVI-D-0 --off
fi
session=${1:-i3}
case $session in
i3|i3wm ) exec i3;;
steam|steamos ) exec steamos-session;;
* ) exec $1;;
esac