2020-11-16 05:53:09 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
CURRENT=`cat /home/jpm/.config/last_display`
|
|
|
|
|
|
|
|
if [ "$CURRENT" == "detached" ]; then
|
2020-11-23 09:35:26 +00:00
|
|
|
/home/jpm/scripts/sway/displays.pl stacked
|
2020-11-16 05:53:09 +00:00
|
|
|
else
|
2020-11-23 09:35:26 +00:00
|
|
|
/home/jpm/scripts/sway/displays.pl detached
|
2020-11-16 05:53:09 +00:00
|
|
|
fi
|