#!/bin/bash
CURRENT=`cat /home/jpm/.spool/last_display`
if [ "$CURRENT" == "x13" ]; then
/home/jpm/scripts/sway/displays.pl Both
else
/home/jpm/scripts/sway/displays.pl x13
fi