From 7e4217254a96e77e2a22593658dce21d03044fb6 Mon Sep 17 00:00:00 2001 From: Chrys Date: Mon, 21 Oct 2019 23:11:13 +0200 Subject: [PATCH] detect device only once --- play zone/start2.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/play zone/start2.sh b/play zone/start2.sh index 8dca1112..e627bbec 100755 --- a/play zone/start2.sh +++ b/play zone/start2.sh @@ -22,11 +22,11 @@ # #--code-- -#for i in /tmp/fenrirscreenreader-*.sock ; do -#if [[ "$i" != "/tmp/fenrirscreenreader-deamon.sock" ]]; then -# echo -n "setting set screen#suspendingScreen=pty" | socat - UNIX-CLIENT:$i -# fi -#done +for i in /tmp/fenrirscreenreader-*.sock ; do +if [[ "$i" != "/tmp/fenrirscreenreader-deamon.sock" ]]; then + echo -n "setting set screen#suspendingScreen=pty" | socat - UNIX-CLIENT:$i + fi +done /usr/bin/urxvt -e ../src/fenrir -d -s ./xterm.conf -o "general.shell=./waitForKey2;remote#socketFile=/tmp/fenrirscreenreader-waitForKey2.sock"