Move toggle_outputs to sway directory

It is not specific to thinkpad hardware but it is specific to sway; this is more appropriate
This commit is contained in:
John Mertz 2020-11-16 00:53:09 -05:00
부모 895b9b5588
커밋 93731a44e2
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제

9
sway/toggle_outputs.sh Executable file
파일 보기

@ -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