detect device only once

This commit is contained in:
Chrys 2019-10-21 23:11:13 +02:00
parent 0279edf4ff
commit 7e4217254a

View File

@ -22,11 +22,11 @@
# #
#--code-- #--code--
#for i in /tmp/fenrirscreenreader-*.sock ; do for i in /tmp/fenrirscreenreader-*.sock ; do
#if [[ "$i" != "/tmp/fenrirscreenreader-deamon.sock" ]]; then if [[ "$i" != "/tmp/fenrirscreenreader-deamon.sock" ]]; then
# echo -n "setting set screen#suspendingScreen=pty" | socat - UNIX-CLIENT:$i echo -n "setting set screen#suspendingScreen=pty" | socat - UNIX-CLIENT:$i
# fi fi
#done done
/usr/bin/urxvt -e ../src/fenrir -d -s ./xterm.conf -o "general.shell=./waitForKey2;remote#socketFile=/tmp/fenrirscreenreader-waitForKey2.sock" /usr/bin/urxvt -e ../src/fenrir -d -s ./xterm.conf -o "general.shell=./waitForKey2;remote#socketFile=/tmp/fenrirscreenreader-waitForKey2.sock"