test3.sh - ltk - GUI toolkit for X11 (WIP)
HTML git clone git://lumidify.org/ltk.git (fast, but not encrypted)
HTML git clone https://lumidify.org/git/ltk.git (encrypted, but very slow)
HTML git clone git://4kcetb7mo7hj6grozzybxtotsub5bempzo4lirzc3437amof2c2impyd.onion/ltk.git (over tor)
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
test3.sh (403B)
---
1 #!/bin/sh
2
3 export LTKDDIR=".ltkd"
4 export LTKDIR="../../config.example"
5 ltk_id=`../../src/ltkd/ltkd -t "Cool Window"`
6 #if [ $? -ne 0 ]; then
7 # echo "Unable to start ltkd." >&2
8 # exit 1
9 #fi
10
11 cat test3.gui | ../../src/ltkd/ltkc $ltk_id | while read cmd
12 do
13 case "$cmd" in
14 *"event btn1 button press")
15 echo "quit"
16 ;;
17 *)
18 printf "client1: %s\n" "$cmd" >&2
19 ;;
20 esac
21 done | ../../src/ltkd/ltkc $ltk_id