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