net-im/tencent-qq: rename version
[gentoo-zh.git] / app-i18n / gcin / files / nobopomofo / gcin-filter-nobopomofo
blobafb1c13e9fdfbb0c50f700289b6f53ee168fd0bb
1 #! /bin/bash
2 # gcin-filter-nobopomofo version 0.0.4
3 read -r -t 1 aa
4 echo -n $aa
5 if [ "$(echo -n $aa | grep -v -f $0 --)" = "" ]; then
6 declare -i bb=$(date +%N | tr -d 0)%2
7 if [ "$bb" = "1" ]; then
8 gcin-message -icon /usr/share/pixmaps/gcin/SS1135_ST.jpg -duration 1500 &
9 else
10 gcin-message -icon /usr/share/pixmaps/gcin/SS1208_DT.jpg -duration 1500 &
13 exit
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50