summaryrefslogtreecommitdiff
path: root/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh
blob: 491db4ca384c538215830e2a45a303dc6f33931c (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
if [ -n "$(xrandr | grep rotation | grep left)" ]
then 
xrandr -o normal
xmodmap /etc/X11/xmodmap-portrait
else 
xrandr -o left
xmodmap /etc/X11/xmodmap-right
fi