  #!/bin/sh
  
  # As matchbox-panel updates its written configuration right after an applet dies / is killed, we can not be sure
  # whether the user had gpe-panel in his preferences after rotating to portrait. And since there is a slim chance
  # that a user changes his preferences from time to time, we renew that dumped configuration every now and then ;)

  if [ -x ${ZD_BINDIR}/xrandr ]; then
    xrandr -o right
  fi
  bl on
