summaryrefslogtreecommitdiff
path: root/packages/matchbox-panel-hacks/matchbox-panel-hacks-0.3-1/xrandr-panelapp.sh
blob: ea883e815c89e6d1687f8c4022556c910801285d (plain)
1
2
3
4
5
6
7
8
#!/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