Move toggle_outputs to sway directory

It is not specific to thinkpad hardware but it is specific to sway; this is more appropriate
Cette révision appartient à :
John Mertz 2020-11-16 00:53:09 -05:00
Parent 895b9b5588
révision 93731a44e2
1 fichiers modifiés avec 9 ajouts et 0 suppressions

9
sway/toggle_outputs.sh Fichier exécutable
Voir le fichier

@ -0,0 +1,9 @@
#!/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