]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / matchbox-panel-hacks / matchbox-panel-hacks-0.3-1 / xrandr-panelapp.sh
1 #!/bin/sh
2 if [ -n "$(xrandr | grep rotation | grep left)" ]
3 then 
4 xrandr -o normal
5 xmodmap /etc/X11/xmodmap-portrait
6 else 
7 xrandr -o left
8 xmodmap /etc/X11/xmodmap-left
9 fi