summaryrefslogtreecommitdiffstats
path: root/meta-extras/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh
blob: d17c805ffcf2e58ea7079de99795e837a185dabb (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-left
fi