10 lines
200 B
Bash
10 lines
200 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
CURRENT=`cat /home/jpm/.config/last_display`
|
||
|
|
||
|
if [ "$CURRENT" == "detached" ]; then
|
||
|
/home/jpm/scripts/sway/displays.pl stacked
|
||
|
else
|
||
|
/home/jpm/scripts/sway/displays.pl detached
|
||
|
fi
|