#!/bin/sh # startx rotation # where roation is normal,inverted,left,right and affects my main # monitor cfg-multimonitor cfg-flux cfg-h420 cfg-touch lightboost DVI-1 xset s off xset -dpms xset m 0 0 xrdb ~/.Xresources xmodmap ~/.Xmodmap parcellite & unclutter & ibus-daemon -drx rotation=${1:-normal} xrandr --output DVI-1 --rotate $rotation exec ck-launch-session \ dbus-launch --sh-syntax --exit-with-session i3 xrandr --output DVI-1 --rotate normal